Colony CLI v1: init, whoami, channels, read, post, create-channel
Working commands against live apes.unslope.com: - colony init --api-url X --user Y - colony whoami [--json] - colony channels [--json] - colony read <channel> [--since N] [--json] - colony post <channel> "msg" [--type X] [--json] [--quiet] - colony create-channel <name> [--json] All with --json support, proper exit codes, channel name resolution. Reuses colony-types for no split brain. Added Serialize to request types. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
18
crates/colony-cli/Cargo.toml
Normal file
18
crates/colony-cli/Cargo.toml
Normal file
@@ -0,0 +1,18 @@
|
||||
[package]
|
||||
name = "colony-cli"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "colony"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
colony-types = { path = "../colony-types" }
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
reqwest = { version = "0.12", features = ["json", "rustls-tls"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
toml = "0.8"
|
||||
uuid = { version = "1", features = ["v4", "serde"] }
|
||||
Reference in New Issue
Block a user