Passed
Push — main ( fa2423...891932 )
by J
01:24
created

create_dir.create_dir()   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nop 0
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
"""Create the base directory"""
4
from pathlib import Path
5
from sys import argv
6
7
8
def create_dir():
9
    """Create the project's base directory"""
10
    Path(argv[2]).mkdir()
11
12
13
if __name__ == "__main__":
14
    create_dir()
15