Skip to content

Commit

Permalink
temp bump on cli page
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Kanzer authored and Aaron Kanzer committed Apr 24, 2024
1 parent ca76ae8 commit ddab9dd
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion docs/62_dandi_cli.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Work In Progress
# Work In Progress -- This page should not be referenced until further abstraction is handled for the DANDI CLI tool

For data management (predominately `upload` and `download` of data
to/from DANDI), a local CLI (command line interface) is used.
Expand All @@ -7,6 +7,29 @@ to/from DANDI), a local CLI (command line interface) is used.

## Referencing your API

To reference your DANDI-clone API, [update the URLs reference per each CLI action](https://github.com/dandi/dandi-cli/blob/15196a93310618f8897c7b43444e216bbb094549/dandi/consts.py#L119-L135)

For example:

```python
known_instances = {
"dandi": DandiInstance(
"dandi",
"https://<your-domain>.org", # UI URL
"https://api.<your-domain>.org/api", # API URL
),
"dandi-staging": DandiInstance(
"dandi-staging",
"https://gui-staging.<your-domain>.org",
"https://api-staging.<your-domain>.org/api",
),
"dandi-api-local-docker-tests": DandiInstance(
"dandi-api-local-docker-tests",
f"http://{instancehost}:8085",
f"http://{instancehost}:8000/api",
),
}
```

## Connecting to PyPI

Expand Down

0 comments on commit ddab9dd

Please sign in to comment.