Core commands
This reference lists the core commands that you can use with SHOPLINE CLI.
help
Lists the available commands and describes what they do.
shopline help
shopline -h
shopline --help
You can also use the help command or options to get more detailed information about a specific command:
shopline [command] -h
shopline [command] --help
login
Authenticates and logs you into the specified store with SHOPLINE CLI.
shopline login --store `<STORE_DOMAIN>`
Optional parameters
parameters | description |
---|---|
--store <STORE_DOMAIN> | The store that you want to log in to. |
The --store
flag accepts the following inputs:
Type | Example |
---|---|
myshopline.com URL | example.myshopline.com https://example.myshopline.com |
The store admin URL | example.myshopline.com/admin https://example.myshopline.com/admin |
⚠️ Custom domain names are not supported.
logout
The logout command clears credentials. You need to reauthenticate the next time that you connect to a store.
shopline logout
whoami
View the current logged in store.
shopline whoami
Was this article helpful to you?
Error loading component.