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.7.tar.gz (28.2 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.7-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mycloudctl-1.0.7.tar.gz
  • Upload date:
  • Size: 28.2 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.7.tar.gz
Algorithm Hash digest
SHA256 48d13df4e3bf5dd031d2f2848a8e6ee384947981c5f225297f24e7f363287839
MD5 5f79b40ee6646d0f3dc59cd1c45340bb
BLAKE2b-256 67c556bbffa69298606eeff567e68e052da19f18b057b4f3f8a3e15e47c59e2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mycloudctl-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 32.7 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 44960fd90d0a27acc5e7c1f4f4aa2bc5c0d73f1b76854a2f21d7559bc9e59586
MD5 e8b56d9d71c414a801bad7c0dabd95c5
BLAKE2b-256 404186177a08a3a3c2429641e3f596de28e957cae75aecc84b69ca7a1f7b2605

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