aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-cli/plan.txt
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-10-26 20:36:03 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-10-26 20:36:03 -0700
commitbab98346caeda7faa6fd7ce9f2dc5eadb828bc63 (patch)
tree66c03a25a847350f6976007a860f2070f98c7443 /adenosine-cli/plan.txt
parentc4485e4b134d946227d6cbd52f57ce175387749d (diff)
downloadadenosine-bab98346caeda7faa6fd7ce9f2dc5eadb828bc63.tar.gz
adenosine-bab98346caeda7faa6fd7ce9f2dc5eadb828bc63.zip
rename main crate to '-pds', start '-cli' crate
Diffstat (limited to 'adenosine-cli/plan.txt')
-rw-r--r--adenosine-cli/plan.txt65
1 files changed, 65 insertions, 0 deletions
diff --git a/adenosine-cli/plan.txt b/adenosine-cli/plan.txt
new file mode 100644
index 0000000..fc7b6dc
--- /dev/null
+++ b/adenosine-cli/plan.txt
@@ -0,0 +1,65 @@
+
+CLI name is `adenosine`.
+
+This is (for now) a "light" or "delegated" client which has no local state and
+just talks to the remote.
+
+config variables:
+
+ ATP_SERVICE: prefix, eg http://localhost:1234
+ ATP_AUTH_TOKEN: JWT string
+
+at-uri can be either a global `at://` URI string, or a user-local referene of
+the form <collection>/<TID>.
+
+like in httpie, params can be '=' for a JSON field assignment; '==' for query
+parameters (though there are usually CLI args instead); '@' to import a JSON
+file; '-' to read a JSON file from stdin.
+
+ get <at-uri>
+ ls <at-uri>?
+
+ create <collection> <params>+
+ update <at-uri> <params>+
+ delete <at-uri>
+
+ describe <name|did>
+ resolve <name|did> => output DID doc (optionally do this directly?)
+
+ validate <nsid> <params>+
+
+ status
+ => status of configuration, registration, logged in, current did/username (from JWT?), etc
+
+ account
+ register
+ delete
+ login
+ logout
+ info <name>?
+ create-revocation-key
+
+ repo
+ root
+ export <at-uri>?
+ import <in-cbor-filename> [--from <cid>]
+
+ xrpc get|post <nsid> [<params>]+
+ => generic method
+
+ bsky
+ feed <name>?
+ notifications
+
+ post [<params>]+
+ repost <at-uri>
+ like <at-uri>
+ unlike <at-uri>
+ follow <name|did>
+ unfollow <name|did>
+
+ follows <name|did>?
+ followers <name|did>?
+ profile <name>?
+ search-users <query>
+