CLI Documentation
Introduction
4EVERLAND offers a command-line interface for the 4everland Bucket CLI, which enables you to upload and manage objects with a set of commands. The commands and parameters available in the 4everland CLI are listed below.
Install
You can install the 4everland Bucket CLI by running the 'npm install -g @4everland/bucket-cli' command.
npm install -g @4everland/bucket-cli
View Version
You can view the current version of the 4everland CLI by running the '4ever-bucket -v' command.
4ever-bucket -v
Login
You can login your Bucket account via the 4everland CLI by running the '4ever-bucket login' command.
4ever-bucket login
or
4ever-bucket login [apiKey] [apiSecret]
API Key
You can see your API Key in the Bucket Access Key.
Upload files
To upload files, please run the '4ever-bucket upload' command.
4ever-bucket upload
or
4ever-bucket upload [localPath] [bucketName]
List files
To list files, please run the '4ever-bucket list' command.
4ever-bucket list
or
4ever-bucket list [BucketName[/Prefix]]