mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-19 14:08:45 -04:00
- Added a new `apps/cli` module to encapsulate the CLI application logic, improving organization and modularity. - Updated `Cargo.toml` to include dependencies for the CLI, such as `clap` for command-line argument parsing. - Implemented a `Context` struct to manage application state and core client interactions. - Created command handling for file operations and library management, enhancing user experience and functionality. - Introduced utility functions for output formatting, supporting both human-readable and JSON outputs. These changes significantly enhance the structure and maintainability of the CLI application while providing a more robust user interface.
15 lines
395 B
TOML
15 lines
395 B
TOML
[package]
|
|
edition = "2021"
|
|
name = "spacedrive-cli"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
bincode = "1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
sd-core = { path = "../../core" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["full"] }
|
|
uuid = { version = "1", features = ["serde", "v4"] }
|