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.

  • mycloud ls [folder_id]: List files and folders in the root directory, or a specified folder.
  • mycloud upload <file>: Upload a local file to myCloud. (Use --stash to upload it directly to your stash).
  • mycloud download <id>: Download a specific file by its ID.
  • mycloud download-all [folder_id]: Download all files in a folder.
  • mycloud rm <id>: Delete a file.
  • mycloud rm-all [folder_id]: Delete all files in a folder.
  • 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.5.tar.gz (28.0 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.5-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mycloudctl-1.0.5.tar.gz
  • Upload date:
  • Size: 28.0 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.5.tar.gz
Algorithm Hash digest
SHA256 ca6b45a3317b0b3f5557ab36136cae2355bce073a03d83a8670aabcee4db8e2c
MD5 13b8aefff4b0ce4b1eb6969a1793ba86
BLAKE2b-256 4ccf1be97d29b261fbf7a1da83075bc7c1846c7f39181168c16deb40ba52f570

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mycloudctl-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 32.3 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0b966e9ed36765f6ce261f5994efcdd1e4a6df2714720014da2e0a95c4f403a6
MD5 ce811b33dccf4d7bb0b13159634efe6d
BLAKE2b-256 d07e952d5a01abe047fda580b400a097a4b347dabf231f56c7fb5b2de0ec4e58

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