twf
Twinfield on the command line.
twf <command> [<arguments>] [options]The command is twf, after the twf. prefix Twinfield uses itself (twf.organisationCode). twinfield is the same command under its long name. Installed with Composer, you call it as vendor/bin/twf.
Commands
Section titled “Commands”| Command | Description |
|---|---|
twf login |
Log in with your browser |
twf logout |
Remove a login |
twf office list |
List the offices |
twf process-xml, twf xml |
Send an XML request to Twinfield (ProcessXml) |
twf status |
Show the logins |
twf token |
Print a valid access token |
A command in a group is written with a space, like gh repo list: twf office list.
| Command | Description |
|---|---|
twf or twf list |
Show all commands |
twf <command> --help |
Show the arguments and options of a command |
twf help <command> |
The same |
twf office |
Show the commands of a group |
twf completion |
Print the shell completion script for bash, fish or zsh |
Options of every command
Section titled “Options of every command”| Option | Description |
|---|---|
--profile=<name> |
The login to use, see Profiles. Default: TWINFIELD_PROFILE or default. |
-h, --help |
Show the help of the command. |
-q, --quiet |
Print only the result of the command and errors. |
--silent |
Print nothing. |
-v, -vv, -vvv, --verbose |
Print more; with -v an error has its trace. |
-V, --version |
Print the version of the Twinfield CLI. |
--ansi, --no-ansi |
Force or disable colours. |
-n, --no-interaction |
Do not ask questions. |
Examples
Section titled “Examples”vendor/bin/twf loginvendor/bin/twf statusvendor/bin/twf office listvendor/bin/twf login --helpSee also
Section titled “See also”Twinfield and Wolters Kluwer are trademarks of Wolters Kluwer. Their names and logos are used only to refer to their products.