-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init subcommand: post-installation system initialization (#16)
## Summary Adds subcommand `init` with its own subcommands: * `conf`: write default/example conf files to default directory or to a specified directory * `comp`: write shell completion files for user or system or to a specified directory Part of #15 ## Changes * system path prefixes: ignore isolation in system context + refactoring for flexibility * added subcommand `init` for post-installation initialization beginning with: shell completion files * init comp: ensure directory exists before writing file * added subcommand `init conf` to write default/example conf files to default directory or specified directory. * includes (related) upgrade to argcmdr 1.0.0 * display `python -m fate` rather than `fate` when run that way
- Loading branch information
Showing
15 changed files
with
847 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .base import runcmd # noqa: F401 | ||
from .base import exit_on_error, runcmd # noqa: F401 | ||
|
||
from .root import main, Main, daemon, serve # noqa: F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from .execution import runcmd # noqa: F401 | ||
from .main import Main # noqa: F401 | ||
from .common import exit_on_error # noqa: F401 | ||
from .execution import runcmd # noqa: F401 | ||
from .main import Main # noqa: F401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.