Src¶
Installation¶
To enable the src
command, install MultiProject extension:
Usage¶
To make a backup of the source directory, use the command:
$ foliant src backup
To restore the source directory from the backup, use the command:
$ foliant src restore
You may use the --config
option to specify custom config file name of your Foliant project. By default, the name foliant.yml
is used:
$ foliant src backup --config alternative_config.yml
Also you may specify the root directory of your Foliant project by using the --path
option. If not specified, current directory will be used.