deta-drive is a command line companion for Deta Drive. It allows you to manage your Deta Drive files from the command line.
go install github.com/pomdtr/deta-drive@latestThe cli supports most of the classic unix commands you are used to. Use deta-drive help to get a list of all commands.
You can authenticate with the cli using the DETA_PROJECT_KEY environment variable, or by using the --data-key flag.
deta-drive cp ./file.txt deta://my-drive/file.txtdeta-drive cp deta://my-drive/file.txt ./file.txtdeta-drive ls deta://my-drive/deta-drive cat deta://my-drive/file.txtdeta-drive rm deta://my-drive/file.txt