KEF
Registered: Jan 2023 Posts: 2 |
Release id #244946 : U64 CLI (0.4.1)
Since almost all commands supported by the CLI requires the '--machine-address' flag to be set, it's worth mentioning that the CLI will look for that in the default config file if it is not specified on the command line.
For example, if you have an Ultimate64 with the hostname 'u64e01' on you local network and a file called '.u64.yml' in your home directory with the following content ...
```
machine-address: "u64e01"
```
... the following terminal command will work just fine, even though the machine address isn't specified:
```
u64 version api
```
That goes for all supported commands and sub-commands.
Basically, you can populate the default config with flag values you want to avoid repeating and whenever you want to use another value you just override them with an explicit flag value on the command line. |