Advanced Usage¶
On this page you will have the advanced documentation to use WorkSpace Automation. This page contains all the optional arguments and sub-commands and with which commands you can use them.
Sub-command (-sc, --subcommand <SUB_COMMAND>)¶
This flare is required to use the config command, if not provided or wrongly tipped it will throw an error.
The aviable sub commands are:
vscode: usage will beWorkspace-auto -c config -sc vscodelanguages: usage will beWorkspace-auto -c config -sc languagesdirectories: usage will beWorkspace-auto -c config -sc directoriesgithub-user: usage will beWorkspace-auto -c config -sc github-userapi-key: usage will beWorkspace-auto -c config -sc api-key
The optional arguments that you can provide to this commands are the same than the ones for doing the set-up of the program
WorkSpace Arguments¶
--name <NAME>¶
Where NAME is the name of the workspace.
This can be used with all the commands except config
--directory <DIRECTORY>¶
Where DIRECTORY is the directory with the Workspace will be located.
This can be used with the next commands:
createimport
Note
The directory must be one of the directories included on the set-up of the program.
--language <LANGUAGE>¶
Where LANGUAGE is the language of the project.
This can be used with the next commands:
createimport
Note
The language must be one of the languages selected on the set-up of the program.
GitHub Arguments¶
--github¶
Include this argument if you want to create a GitHub repository.
This can be used with the next commands:
createimport
--owner <OWNER>¶
Where OWNER is the owner of the repository.
This can be used with the next commands:
createimportpublish
Note
The Owner must be either yourself or a organization in which you have permision to create repositories.
--private¶
Include this argument if you want the repository to be private.
This can be used with the next commands:
createimportpublish
--license <LICENSE>¶
Where LICENSE is the license to be used for the repository.
This can be used with the next commands:
createimportpublish
There are 3 licenses aviable on this moments:
Unlicense: If you do not want to use a licenseMITGPL-3.0
WorkSpace Edition Arguments¶
--add-apps¶
Include this argument if you want to show the prompt to add APPs to the workspaces.
This can only be used with the edit command.
--del-apps¶
Include this argument if you want to show the prompt to delete APPs from the workspaces.
This can only be used with the edit command.
--add-urls¶
Include this argument if you want to show the prompt to add URLs to the workspaces.
This can only be used with the edit command.
--del-urls¶
Include this argument if you want to show the prompt to delete URLs from the workspaces.
This can only be used with the edit command.
--new-directory <NEW_DIRECTORY>¶
Where NEW_DIRECTORY is the directory where you want to relocate the WorkSpace.
This can only be used with the move command.
Note
The directory must be one of the directories included on the set-up of the program.