blob: 4df416f2ed18220cac2486c826c38f0d19d8e563 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
from .args import parse_arguments
from .env import create_environment
from .template import compile_dotfiles
from .stow import apply_stow_operation_to_packages
import sys
sys.dont_write_bytecode = True
def main():
args = parse_arguments()
env = create_environment(args)
if args.clean:
apply_stow_operation_to_packages(args.comp, args.target, "-D", env)
if args.compile:
compile_dotfiles(args.source, args.comp, env)
if args.stow:
apply_stow_operation_to_packages(args.comp, args.target, "--no-folding", env)
|