Skip to content

Commit

Permalink
feat: add secrets (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
jared-paperspace authored Mar 13, 2023
1 parent 0c0b3b1 commit 69d40f7
Show file tree
Hide file tree
Showing 28 changed files with 2,848 additions and 307 deletions.
1,179 changes: 1,168 additions & 11 deletions .assets/pspace.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .scripts/generate-api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import openapiTS from "npm:openapi-typescript";
import { path } from "../deps.ts";
import { parse } from "https://deno.land/std@0.178.0/flags/mod.ts";
import { parse } from "https://deno.land/std@0.179.0/flags/mod.ts";

const flags = parse(Deno.args);
const url = flags._[0] ?? "https://api.paperspace.com/v1/openapi.json";
Expand Down
2 changes: 1 addition & 1 deletion .scripts/generate-docs.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { app } from "../zcli.ts";
import { root } from "../commands/mod.ts";
import { zcliJson } from "https://deno.land/x/[email protected].2/zcli-json.ts";
import { zcliJson } from "https://deno.land/x/[email protected].3/zcli-json.ts";

// Read the markdown file adjacent to this script
const json = await zcliJson(app, root);
Expand Down
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,6 @@ Using Shell (macOS, Linux, and Windows using WSL):
curl -fsSL https://paperspace.com/install.sh | sh
```

Using Scoop (Windows):

> **Note** Coming soon
>
> ```sh
> scoop bucket add pspace https://github.com/Paperspace/scoop-bucket.git
> scoop install pspace
> ```
Using Homebrew (macOS and Linux):
> **Note** Coming soon
>
> ```sh
> brew tap paperspace/tap
> brew install pspace
> ```
## Usage

Run `pspace --help` in your terminal.
Expand Down
2 changes: 1 addition & 1 deletion api/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export type ClientMethod<
requestInit?: ApiClientRequestInit,
) => Promise<SuccessData<Path, Method> | ErrorData<Path, Method>>
: (
params: PathParams<Path, Method> & PathBody<Path, Method>,
params: Prettify<PathParams<Path, Method> & PathBody<Path, Method>>,
requestInit?: ApiClientRequestInit,
) => Promise<SuccessData<Path, Method> | ErrorData<Path, Method>>);

Expand Down
Loading

0 comments on commit 69d40f7

Please sign in to comment.