feat: Add aliases for bench backup
* --include is the same as --only, -i * --exclude is the same as -e
This commit is contained in:
parent
7b1fa59a29
commit
ce45343355
1 changed files with 2 additions and 2 deletions
|
|
@ -325,8 +325,8 @@ def use(site, sites_path='.'):
|
|||
|
||||
@click.command('backup')
|
||||
@click.option('--with-files', default=False, is_flag=True, help="Take backup with files")
|
||||
@click.option('--include', default="", type=str, help="Specify the DocTypes to backup seperated by commas")
|
||||
@click.option('--exclude', default="", type=str, help="Specify the DocTypes to not backup seperated by commas")
|
||||
@click.option('--include', '--only', '-i', default="", type=str, help="Specify the DocTypes to backup seperated by commas")
|
||||
@click.option('--exclude', '-e', default="", type=str, help="Specify the DocTypes to not backup seperated by commas")
|
||||
@click.option('--backup-path', default=None, help="Set path for saving all the files in this operation")
|
||||
@click.option('--backup-path-db', default=None, help="Set path for saving database file")
|
||||
@click.option('--backup-path-files', default=None, help="Set path for saving public file")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue