Skip to main content

Official CLI for myCloud - your personal cloud storage

Project description

myCloud CLI

myCloud is a full-stack personal cloud platform that supports file storage, folder management, sharing, file previews, stash/recovery workflows, monitoring dashboards, and optional storage-node workflows.

The mycloud CLI allows you to interact with your personal cloud directly from your terminal, offering a seamless and efficient way to manage your files and account without needing to open a web browser.

Installation

You can install the myCloud CLI via pip:

pip install mycloudctl

After installation, the mycloud command will be available in your terminal. Alternatively, you can use the standalone executable (mycloud-cli.exe).

Command Reference

The CLI commands are grouped by their functionality to help you easily find what you need.

▸ Authentication

Manage your myCloud session and account.

  • mycloud login: Sign in to your myCloud account.
  • mycloud logout: Sign out and clear your current session.
  • mycloud whoami: Display the currently logged-in user and session details.
  • mycloud register: Register a new myCloud account directly from the terminal.

▸ File Operations

Core file management capabilities. (You can target specific private servers by appending --node <node_id> to commands).

  • mycloud ls [folder_id] [--node <node_id>]: List files and folders.
  • mycloud upload <file> [--node <node_id>]: Upload a local file. (Use --stash to upload it directly to your stash).
  • mycloud download <id>: Download a specific file by its ID.
  • mycloud download-all [folder_id] [--node <node_id>]: Download all files in a folder (or all files on a specific node).
  • mycloud rm <id>: Delete a file.
  • mycloud rm-all [folder_id] [--node <node_id>]: Delete all files in a folder (or wipe a specific node).
  • mycloud rename <id> <new_name>: Rename an existing file.
  • mycloud mv <id> <folder_id>: Move a file into a different folder.
  • mycloud info <id>: Show detailed metadata for a file (size, creation date, type, etc.).
  • mycloud cat <id>: Print the contents of a text file directly to the terminal.
  • mycloud favorite <id> (or mycloud fav <id>): Toggle the favorite status of a file.

▸ Folder Operations

Organize your files using folders.

  • mycloud mkdir <name>: Create a new folder.
  • mycloud rmdir <id>: Delete a folder.
  • mycloud folders ls: List all your folders.
  • mycloud folders rename <id> <new_name>: Rename a folder.

▸ Search

  • mycloud find <query>: Search your entire cloud for files and folders matching the name.

▸ Stash (Recycle Bin)

Manage temporarily deleted files.

  • mycloud stash ls: List all items currently in your stash.
  • mycloud stash restore <id>: Restore a stashed item back to its original location.
  • mycloud stash empty: Empty the stash permanently, deleting files forever.

▸ Sharing

Share files with other users or create public links.

  • mycloud share create <file_id>: Create a shareable link for a file.
  • mycloud share ls: List all your currently active shared items.
  • mycloud share rm <share_id>: Revoke and remove a share link.
  • mycloud share direct <file_id> <username>: Directly share a file with another registered myCloud user.

▸ Batch Operations

Group multiple files and folders into a single shareable link.

  • mycloud batch create: Create a new batch share link.
  • mycloud batch add <batch_id> <file_id>: Add a file or folder to an existing batch share.

▸ Servers / Nodes

Manage your private storage nodes.

  • mycloud servers ls: List all your registered private storage nodes and their statuses.
  • mycloud servers add: Register a new private storage node and generate its API key.
  • mycloud servers rm <node_id>: Remove a registered private storage node.

▸ Storage & Stats

Monitor your storage usage.

  • mycloud stats (or mycloud storage stats): Show current storage usage, total capacity, and limits.
  • mycloud storage breakdown: View a detailed breakdown of your storage consumption by file type.

▸ Notifications

Stay updated with account activities.

  • mycloud notify ls: List your recent account notifications.
  • mycloud notify read <id>: Mark a specific notification as read.
  • mycloud notify read-all: Mark all pending notifications as read.

▸ Profile & Preferences

Customize your account settings.

  • mycloud profile view: View your profile information.
  • mycloud profile update-avatar <image_path>: Set or update your profile picture.
  • mycloud prefs ls: Show your current user preferences.
  • mycloud prefs set <key> <value>: Update a specific preference.

Built for power users who want their personal cloud accessible right from the command line.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mycloudctl-1.0.6.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mycloudctl-1.0.6-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

File details

Details for the file mycloudctl-1.0.6.tar.gz.

File metadata

  • Download URL: mycloudctl-1.0.6.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for mycloudctl-1.0.6.tar.gz
Algorithm Hash digest
SHA256 01b185ce904f75ae5a2ec8a427393c244480ef1328ff0a949119725277773e0b
MD5 14693f6d0538b20f4b08408bb399c385
BLAKE2b-256 389c691c47fb30c92adad1a58419a130de3ff7ecb78d6db7c36163105fbd7f2e

See more details on using hashes here.

File details

Details for the file mycloudctl-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: mycloudctl-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 32.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.6

File hashes

Hashes for mycloudctl-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b846e38140bf107d29fa0feb7c464e708b9d84a955903b9b24b815bdd64cc5f9
MD5 e5be366f03a099660b6341edf39369c5
BLAKE2b-256 dcb62f1de8f3e71a43740ea0fa9915bb205df289d4b8e7cf60aabf8cab76fc09

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page