Closed saparikh closed 4 years ago
Also, it does not appear to read the netcfgbu.toml
in the current working directory by default. I had to set the environment variable NETCFGBU_CONFIG
The -C
option is specified after the subcommand, for example:
$ netcfgbu backup --help
Usage: netcfgbu backup [OPTIONS]
Backup network configurations.
Options:
-C, --config FILENAME
-e, --exclude TEXT exclude from inventory
-l, --limit, --include TEXT limit/include in inventory
-i, --inventory TEXT Inventory file-name
--debug-ssh INTEGER RANGE enable SSH debugging
-b, --batch INTEGER RANGE inevntory record processing batch size
--help Show this message and exit.
The usage would be:
netcfgbu backup -C <filepath> ...
Closing this issue as I believe I have addressed the question.
Fresh install of netcfgu via pip and get the following error when trying to specify the path to the toml file:
Setup section of the docs: https://github.com/jeremyschulman/netcfgbu#setup indicates this should work.
Help output from cli doesn't say anything about
-C
option