CLI tool for OnMachina™️
yarn
yarn run dev
First you should make sure to import the environment variables found in the settings page. For this to work you need the variables DSN_API_TOKEN
and OS_STORAGE_URL
in your console or in a .env
file.
Create and set the container as the current one.
yarn start container [name]
This uses the current container to store the files.
yarn start upload <file-path>
yarn start download <object-name>
Delete a file from the current container.
yarn start delete <object-name>
List all files in the current container.
yarn start list
Get info about a file in the current container.
yarn start info <object-name>
Test the upload and download speed.
yarn start speedtest