diff --git a/crates/forest/src/cli.rs b/crates/forest/src/cli.rs index a175a1f..5e7a3c8 100644 --- a/crates/forest/src/cli.rs +++ b/crates/forest/src/cli.rs @@ -58,9 +58,9 @@ pub async fn execute() -> anyhow::Result<()> { )?; let put_object = bucket.put_object(Some(&creds), "some-object"); - put_object.sign(expires_in) + let _url = put_object.sign(std::time::Duration::from_secs(30)); - let state = SharedState::new().await?; + let _state = SharedState::new().await?; } Ok(()) diff --git a/cuddle.yaml b/cuddle.yaml index 93115c5..220ef37 100644 --- a/cuddle.yaml +++ b/cuddle.yaml @@ -20,3 +20,7 @@ cuddle/clusters: prod: env: service.host: "0.0.0.0:3000" + +scripts: + todos: + type: shell diff --git a/scripts/todos.sh b/scripts/todos.sh new file mode 100755 index 0000000..c6ed0c4 --- /dev/null +++ b/scripts/todos.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env zsh +# +set -e pipefail + +hyperlog --local-path todos diff --git a/todos/hyperlog/graph.json b/todos/hyperlog/graph.json new file mode 100644 index 0000000..5f25646 --- /dev/null +++ b/todos/hyperlog/graph.json @@ -0,0 +1,20 @@ +{ + "forest": { + "type": "user", + "projects": { + "type": "section", + "artifacts": { + "type": "item", + "title": "artifacts", + "description": "", + "state": "not-done" + }, + "projects": { + "type": "item", + "title": "projects", + "description": "", + "state": "not-done" + } + } + } +} \ No newline at end of file