Command line interface#
git olincs#
git olincs [OPTIONS] COMMAND [ARGS]...
clone#
git olincs clone [OPTIONS] [PROJET_URL] [DIRECTORY]
Options
- --https-cert-check, --no-https-cert-check#
force to check https certificate or not
- --whole-project-download, --no-whole-project-download#
download whole project in a zip file from the server/ or download sequentially file by file from the server
- -b, --git-branch <git_branch>#
The name of a branch. We will commit the changes from Sharelatex on this branch.
Default: __remote__sharelatex__
- --ignore-saved-user-info <ignore_saved_user_info>#
Forget user account information already saved (in OS keyring system)
- --save-password, --no-save-password#
Save user account information (in OS keyring system)
- -p, --password <password>#
User password for sharelatex server, if password is not provided, it will be asked online
- -u, --username <username>#
Username for sharelatex server account, if username is not provided, it will be asked online
- -a, --auth_type <auth_type>#
Authentication type.
- Options:
gitlab | community | legacy
- -d, --debug#
- -s, --silent#
- -v, --verbose#
verbose level (can be: -v, -vv, -vvv)
Arguments
- PROJET_URL#
Optional argument
- DIRECTORY#
Optional argument
compile#
Compile the remote version of a project
git olincs compile [OPTIONS] [PROJECT_ID]
Options
- --ignore-saved-user-info <ignore_saved_user_info>#
Forget user account information already saved (in OS keyring system)
- --save-password, --no-save-password#
Save user account information (in OS keyring system)
- -p, --password <password>#
User password for sharelatex server, if password is not provided, it will be asked online
- -u, --username <username>#
Username for sharelatex server account, if username is not provided, it will be asked online
- -a, --auth_type <auth_type>#
Authentication type.
- Options:
gitlab | community | legacy
- -d, --debug#
- -s, --silent#
- -v, --verbose#
verbose level (can be: -v, -vv, -vvv)
Arguments
- PROJECT_ID#
Optional argument
new#
Upload the current directory as a new sharelatex project.
This literally creates a new remote project in sync with the local version.
git olincs new [OPTIONS] PROJECTNAME BASE_URL
Options
- --https-cert-check, --no-https-cert-check#
force to check https certificate or not
- --whole-project-upload, --no-whole-project-upload#
upload whole project in a zip file to the server/ or upload sequentially file by file to the server
- --rate-max-uploads-by-sec <rate_max_uploads_by_sec>#
number of max uploads by seconds to the server (some servers limit the this rate), useful with –no-whole-project-upload
- -b, --git-branch <git_branch>#
The name of a branch. We will commit the changes from Sharelatex on this branch.
Default: __remote__sharelatex__
- --ignore-saved-user-info <ignore_saved_user_info>#
Forget user account information already saved (in OS keyring system)
- --save-password, --no-save-password#
Save user account information (in OS keyring system)
- -p, --password <password>#
User password for sharelatex server, if password is not provided, it will be asked online
- -u, --username <username>#
Username for sharelatex server account, if username is not provided, it will be asked online
- -a, --auth_type <auth_type>#
Authentication type.
- Options:
gitlab | community | legacy
- -d, --debug#
- -s, --silent#
- -v, --verbose#
verbose level (can be: -v, -vv, -vvv)
Arguments
- PROJECTNAME#
Required argument
- BASE_URL#
Required argument
pull#
Pull the files from sharelatex.
In the current repository, it works as follows:
1. Pull in the latest version of the remote project in __remote__sharelatex__
respectively the given branch.
Attempt a merge in the working branch. If the merge can’t be done automatically, you will be required to fix the conflict manually
git olincs pull [OPTIONS]
Options
- -b, --git-branch <git_branch>#
The name of a branch. We will commit the changes from Sharelatex on this branch.
Default: __remote__sharelatex__
- --ignore-saved-user-info <ignore_saved_user_info>#
Forget user account information already saved (in OS keyring system)
- --save-password, --no-save-password#
Save user account information (in OS keyring system)
- -p, --password <password>#
User password for sharelatex server, if password is not provided, it will be asked online
- -u, --username <username>#
Username for sharelatex server account, if username is not provided, it will be asked online
- -a, --auth_type <auth_type>#
Authentication type.
- Options:
gitlab | community | legacy
- -d, --debug#
- -s, --silent#
- -v, --verbose#
verbose level (can be: -v, -vv, -vvv)
push#
Synchronize the local copy with the remote version.
This works as follows:
The remote version is pulled (see the pull command)
2. After the merge succeed, the merged version is uploaded back to the remote server.
Note that only the files that have changed (modified/added/removed) will be uploaded.
git olincs push [OPTIONS]
Options
- --force#
Force push
- -b, --git-branch <git_branch>#
The name of a branch. We will commit the changes from Sharelatex on this branch.
Default: __remote__sharelatex__
- --force#
Force push
- --ignore-saved-user-info <ignore_saved_user_info>#
Forget user account information already saved (in OS keyring system)
- --save-password, --no-save-password#
Save user account information (in OS keyring system)
- -p, --password <password>#
User password for sharelatex server, if password is not provided, it will be asked online
- -u, --username <username>#
Username for sharelatex server account, if username is not provided, it will be asked online
- -a, --auth_type <auth_type>#
Authentication type.
- Options:
gitlab | community | legacy
- -d, --debug#
- -s, --silent#
- -v, --verbose#
verbose level (can be: -v, -vv, -vvv)
test#
test log levels
git olincs test [OPTIONS]
Options
- -d, --debug#
- -s, --silent#
- -v, --verbose#
verbose level (can be: -v, -vv, -vvv)