Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 55 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/insomnia-inso/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"@stoplight/spectral-ruleset-bundler": "^1.5.2",
"@stoplight/spectral-rulesets": "^1.18.1",
"@stoplight/types": "^14.1.1",
"commander": "^5.1.0",
"commander": "^12.1.0",
"consola": "^2.15.0",
"cosmiconfig": "^6.0.0",
"cosmiconfig": "^9.0.0",
"enquirer": "^2.4.1",
"insomnia-send-request": "../insomnia-send-request",
"@seald-io/nedb": "^4.0.4",
Expand Down
68 changes: 44 additions & 24 deletions packages/insomnia-inso/src/__snapshots__/inso-snapshot.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,21 @@ exports[`Snapshot for "inso --help" 1`] = `
"Usage: inso [options] [command]

A CLI for Insomnia!
With this tool you can lint, test and export your Insomnia data.
It can read from three data sources, but will use local Insomnia application data as a default:
- Insomnia data directory (~/.config/Insomnia/)
- Insomnia export file (eg. export.json)
- Git repository (~/git/myproject)
With this tool you can test, lint, and export your Insomnia data.

Inso accepts 3 types of input:
Insomnia application data - will be automatically detected, or you can set --workingDir to an alternaitve application data path.
Insomnia export files - set --src to the file path.
Git repositories - set --workingDir to the repository path.

Inso also supports configuration files, by default it will look for .insorc in the current working directory or --workingDir.


Options:
-v, --version output the version number
-w, --workingDir <dir> set working directory
-w, --workingDir <dir> set working directory, defaults to current working
directory, will detect a git repository or Insomnia
data directory
--src <file> set the file read from, defaults to installed
Insomnia data directory
--verbose show additional logs while running the command
Expand All @@ -34,16 +39,21 @@ exports[`Snapshot for "inso -h" 1`] = `
"Usage: inso [options] [command]

A CLI for Insomnia!
With this tool you can lint, test and export your Insomnia data.
It can read from three data sources, but will use local Insomnia application data as a default:
- Insomnia data directory (~/.config/Insomnia/)
- Insomnia export file (eg. export.json)
- Git repository (~/git/myproject)
With this tool you can test, lint, and export your Insomnia data.

Inso accepts 3 types of input:
Insomnia application data - will be automatically detected, or you can set --workingDir to an alternaitve application data path.
Insomnia export files - set --src to the file path.
Git repositories - set --workingDir to the repository path.

Inso also supports configuration files, by default it will look for .insorc in the current working directory or --workingDir.


Options:
-v, --version output the version number
-w, --workingDir <dir> set working directory
-w, --workingDir <dir> set working directory, defaults to current working
directory, will detect a git repository or Insomnia
data directory
--src <file> set the file read from, defaults to installed
Insomnia data directory
--verbose show additional logs while running the command
Expand Down Expand Up @@ -88,16 +98,21 @@ exports[`Snapshot for "inso generate -h" 1`] = `
"Usage: inso [options] [command]

A CLI for Insomnia!
With this tool you can lint, test and export your Insomnia data.
It can read from three data sources, but will use local Insomnia application data as a default:
- Insomnia data directory (~/.config/Insomnia/)
- Insomnia export file (eg. export.json)
- Git repository (~/git/myproject)
With this tool you can test, lint, and export your Insomnia data.

Inso accepts 3 types of input:
Insomnia application data - will be automatically detected, or you can set --workingDir to an alternaitve application data path.
Insomnia export files - set --src to the file path.
Git repositories - set --workingDir to the repository path.

Inso also supports configuration files, by default it will look for .insorc in the current working directory or --workingDir.


Options:
-v, --version output the version number
-w, --workingDir <dir> set working directory
-w, --workingDir <dir> set working directory, defaults to current working
directory, will detect a git repository or Insomnia
data directory
--src <file> set the file read from, defaults to installed
Insomnia data directory
--verbose show additional logs while running the command
Expand All @@ -118,16 +133,21 @@ exports[`Snapshot for "inso help" 1`] = `
"Usage: inso [options] [command]

A CLI for Insomnia!
With this tool you can lint, test and export your Insomnia data.
It can read from three data sources, but will use local Insomnia application data as a default:
- Insomnia data directory (~/.config/Insomnia/)
- Insomnia export file (eg. export.json)
- Git repository (~/git/myproject)
With this tool you can test, lint, and export your Insomnia data.

Inso accepts 3 types of input:
Insomnia application data - will be automatically detected, or you can set --workingDir to an alternaitve application data path.
Insomnia export files - set --src to the file path.
Git repositories - set --workingDir to the repository path.

Inso also supports configuration files, by default it will look for .insorc in the current working directory or --workingDir.


Options:
-v, --version output the version number
-w, --workingDir <dir> set working directory
-w, --workingDir <dir> set working directory, defaults to current working
directory, will detect a git repository or Insomnia
data directory
--src <file> set the file read from, defaults to installed
Insomnia data directory
--verbose show additional logs while running the command
Expand Down
Loading