access
The access target interacts with your access to your GoToSocial instance.
Below are the operations you can perform on the access target.
create access
This operation creates a new access to your GoToSocial instance. This is the operation you’ll use to log into your GoToSocial instance. Enbas will use the Oauth2 authentication flow for the login process which is described in the ‘Getting started’ guide. You can run this command multiple times to log into multiple accounts.
format
enbas [top level flags] create access [flags]
top level flags
See Top Level Flags
flags
--scope
The scope of access to your GoToSocial instance (e.g. read). This flag can be used multiple times to specify multiple values.
Default: <empty>
--url (required)
The URL of your GoToSocial instance.
switch access to account
This operation switches between your logged in accounts.
format
enbas [top level flags] switch access to account [flags]
top level flags
See Top Level Flags
flags
--account-name (required)
The name of the account to switch.
verify access
This operation verifies that you are authenticated into your GoToSocial instance and prints the name of the account that you are signed into.
format
enbas [top level flags] verify access [flags]
top level flags
See Top Level Flags
flags
None