26 Commits

Author SHA1 Message Date
Rafael Silva
eaa709bb8e
feat: add stop delay arg (#331)
* feat: add stop-delay option

* doc: stop-delay option documentation

* chore: upgrade minimum v12 version

* tests: improve test to stop-delay
2022-02-07 10:16:03 -03:00
Rafael Gonzaga
cfaf8da110
feat(flame): add kernel-tracing option (#319) 2021-12-30 18:17:57 -03:00
James M Snell
0021a707ac
Update github organization references (#284) 2021-05-21 09:55:41 -07:00
Shogun
a4ac25cb88
Add heap profiler to the CLI (#273)
Signed-off-by: James M Snell <jasnell@gmail.com>
2021-05-13 13:42:27 -07:00
Salman Mitha
99269cc567
Removed upload/auth functionalities (#263) 2020-11-24 15:47:30 -08:00
Renée Kooi
8f47ecddc2
Revert "Pass collectDelay arg to Clinic Doctor/Flame (#208)"
This reverts commit e6db361ead8d78c8adca8c9d6d11af82d4da3918.
2020-05-29 16:09:34 +02:00
DylanC
e6db361ead
Pass collectDelay arg to Clinic Doctor/Flame (#208)
* Pass timeoutDelay arg to Clinic Doctor

* Update -t arg to --on-timeout

* Change timeout parameter to collectDelay

* Validate usage of the on-port flag

* Run linter

* Update path for collect_timeout_feature branches

* Update arg to match collect-delay in 0x

* Add the collect-delay flag

* Update docs with collect-delay arg

* Add DS_Store to the ignore list

* Bubbleprof doesn't have a matching branch
2020-03-26 14:55:20 +00:00
Dan Levy
3d437312c8 Added undocumented CLI Argument (#200)
* Add missing --open option

* Update clinic-doctor.txt

* Update clinic-flame.txt

* Update clinic-bubbleprof.txt

* Update clinic-flame.txt
2019-11-30 13:22:33 +01:00
Renée Kooi
261c9b30da
Add --upload to --help documentation 2019-10-17 16:39:04 +02:00
Renée Kooi
03c4613113
Set default output directory to $cwd/.clinic (#136)
* Set default output directory to $cwd/.clinic

* Fix tests on windows

* consistent quotes
2019-03-21 16:29:01 +01:00
Stuart Wilson
d8c19ed743 Node Clinic => Clinic.js (#138) 2019-03-21 16:27:40 +01:00
Renée Kooi
428e2ef167
Document --on-port, --autocannon, --dest in all cli tool --help texts (#128)
This also adds some text about _using_ --autocannon to the --help.
2019-03-06 10:44:21 +01:00
Renée Kooi
3cbe86ec5d
Next (#118)
* clinic ask (#66)

The `ask` command is used to upload on the private area, e.g.: 
```
clinic ask --upload-url=http://localhost:3000 11213.clinic-bubbleprof
```
This will:
- Start the authentication on upload server to obtain a JWT token
- Upload the data to the protected API `/protected/data` on upload server

On the server side, the API can extract the user email from the JWT token to correctly identify the "private" folder for the user

* Authenticate for public uploads and support private uploads without `ask`ing (#102)

`clinic upload xyz.clinic-doctor` now also requires authentication.

A new `clinic upload --private` flag uploads to your private area.

`clinic ask` does `clinic upload --private` and then calls a currently-noop function that can be implemented once we have a `/ask` endpoint on the server.

* Store auth tokens in ~/.node-clinic-rc (#108)

Stores the JWT in ~/.node-clinic-rc after logging in. ~/.node-clinic-rc is a JSON file with upload URLs as keys, JWTs as values.

Use `clinic login` to login manually. Optionally specify an `--upload-url`.
Use `clinic logout` to logout manually. Optionally specify an `--upload-url`. Add `--all` to log out of all Clinic Upload servers, this deletes the ~/.node-clinic-rc file.
Use `clinic user` to show a list of current sessions. Optionally specify an `--upload-url` to only show that session.

You can use the `CLINIC_CREDENTIALS` environment variable to point to a different file. I added this for tests, maybe it's also useful in programmatic environments and warrants docs?

`clinic upload` and `clinic ask` automatically do what `clinic login` does at the start.

* Feature/ask auth flag (#114)

* [666] - Add ask param flag to login URL when authenticating using ask command

* [666] - Factor user terms acceptance into CLI login when validating JWT payload against upload type

* Implement ask with placeholder message (#115)

Means we'll have to reply first to figure out what someone needs help with but it's better than not getting a message at all

* 3.0.0-beta.0@next

* Fix/private public auth redirect (#116)

* Re #99 - Pass flag for private uploads to login URL so app can differentiate intent

* Re #97 - Open new tab on upload callback and create flag to prevent this behaviour if desired

* Re #97 - Update browser open flag to use recommended minimist syntax

* Revert "Disable clinic upload in old CLI. (#117)"

This reverts commit 75f80771b4741a4927788a2d492566d04416e1b7.

* Update tool versions.

* remove weird test? unsure what this was for
2019-02-13 14:34:53 +01:00
Stuart Wilson
41f168b453
terminiation => termination (#112) 2019-01-29 09:28:02 +00:00
Luca Maraschi
2ae5bd2a96 Added data-path command line argument (#53)
* Added dest command line argument

* Added CLI test
2018-09-27 23:36:10 +02:00
Ruben Bridgewater
36c2ed1a9e fix clinic flame command description 2018-08-07 17:52:40 +02:00
David Mark Clements
65b716be84 remove sudo/windows non-support notice (#31) 2018-07-25 10:54:11 -03:00
Mathias Buus
16d7de0ac0 bubbleprof docs 2018-07-23 20:21:21 +02:00
Conor O'Neill
296c63fbc9 simpler main help about text for Bubbleprof (#59) 2018-07-23 19:58:54 +02:00
Mathias Buus
6aecda0f70 use @nearform/clinic-flame (#57)
* use @nearform/clinic-flame

* use clinic-flame/version
2018-07-23 19:56:52 +02:00
Jamie Davis
30169681e9 document 'clinic flame' (#22) (#23) 2018-04-19 10:08:16 +02:00
Mathias Buus
b05cb75047 Support --on-port in doctor. Fixes #16 (#39)
* support --http in doctor

* @mcollina comments plus more docs

* test this on windows

* fix typo

* refactor to --on-port

* use stable clinic-doctor

* remove extra log
2018-02-27 16:27:44 +01:00
Gilles De Mey
5b2f74081c Fix typo in clinic.txt (#5) 2018-01-30 12:33:13 +01:00
Mathias Buus
1964d35b01 add clinic clean (#31) 2018-01-25 23:16:09 +01:00
David Mark Clements
2d50599ad7
0x-integration
* 0x-integration

* 0x v3.0.0

* docs

* fixes

* more fixes

* more docs

* --full-help -> --all-options

* add tests

* ignore 0x on ci

* ignore 0x in code coverage

* ignore code coverage

* separate test-local into its own script (needs sudo), and fix test-local requires
2018-01-22 12:53:31 +01:00
Andreas Madsen
a40328e736
prepear for public release 2018-01-19 23:06:16 +01:00