Skip to content

Commit ca2621a

Browse files
authored
Merge branch 'master' into comment-publish-report
2 parents 484143d + bf90536 commit ca2621a

File tree

6 files changed

+29
-31
lines changed

6 files changed

+29
-31
lines changed

bin/cml/publish.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ exports.builder = (yargs) =>
6363
type: 'string',
6464
alias: 'f',
6565
description:
66-
'Append the output to the given file. Create it if does not exist.'
66+
'Append the output to the given file. Create it if does not exist.',
67+
hidden: true
6768
},
6869
repo: {
6970
type: 'string',

bin/cml/publish.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ describe('CML e2e', () => {
2222
--rm-watermark Avoid CML watermark. [boolean]
2323
--mime-type Specifies the mime-type. If not set guess it from the
2424
content. [string]
25-
-f, --file Append the output to the given file. Create it if does not
26-
exist. [string]
2725
--repo Specifies the repo to be used. If not specified is
2826
extracted from the CI ENV. [string]
2927
--token Personal access token to be used. If not specified,

bin/cml/tensorboard-dev.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ exports.builder = (yargs) =>
142142
type: 'string',
143143
alias: 'f',
144144
description:
145-
'Append the output to the given file. Create it if does not exist.'
145+
'Append the output to the given file. Create it if does not exist.',
146+
hidden: true
146147
},
147148
rmWatermark: {
148149
type: 'boolean',

bin/cml/tensorboard-dev.test.js

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -55,30 +55,28 @@ describe('CML e2e', () => {
5555
const output = await exec(`node ./bin/cml.js tensorboard-dev --help`);
5656

5757
expect(output).toMatchInlineSnapshot(`
58-
"cml.js tensorboard-dev
59-
60-
Get a tensorboard link
61-
62-
Options:
63-
--help Show help [boolean]
64-
--version Show version number [boolean]
65-
--log Maximum log level
66-
[string] [choices: \\"error\\", \\"warn\\", \\"info\\", \\"debug\\"] [default: \\"info\\"]
67-
-c, --credentials TB credentials as json. Usually found at
68-
~/.config/tensorboard/credentials/uploader-creds.json. If
69-
not specified will look for the json at the env variable
70-
TB_CREDENTIALS. [string] [required]
71-
--logdir Directory containing the logs to process. [string]
72-
--name Tensorboard experiment title. Max 100 characters. [string]
73-
--description Tensorboard experiment description. Markdown format. Max
74-
600 characters. [string]
75-
--md Output as markdown [title || name](url). [boolean]
76-
-t, --title Markdown title, if not specified, param name will be used.
77-
[string]
78-
-f, --file Append the output to the given file. Create it if does not
79-
exist. [string]
80-
--rm-watermark Avoid CML watermark. [boolean]"
81-
`);
58+
"cml.js tensorboard-dev
59+
60+
Get a tensorboard link
61+
62+
Options:
63+
--help Show help [boolean]
64+
--version Show version number [boolean]
65+
--log Maximum log level
66+
[string] [choices: \\"error\\", \\"warn\\", \\"info\\", \\"debug\\"] [default: \\"info\\"]
67+
-c, --credentials TB credentials as json. Usually found at
68+
~/.config/tensorboard/credentials/uploader-creds.json. If
69+
not specified will look for the json at the env variable
70+
TB_CREDENTIALS. [string] [required]
71+
--logdir Directory containing the logs to process. [string]
72+
--name Tensorboard experiment title. Max 100 characters. [string]
73+
--description Tensorboard experiment description. Markdown format. Max
74+
600 characters. [string]
75+
--md Output as markdown [title || name](url). [boolean]
76+
-t, --title Markdown title, if not specified, param name will be used.
77+
[string]
78+
--rm-watermark Avoid CML watermark. [boolean]"
79+
`);
8280
});
8381

8482
test('cml tensorboard-dev --md returns md and after command TB is still up', async () => {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dvcorg/cml",
3-
"version": "0.16.0",
3+
"version": "0.16.1",
44
"description": "<p align=\"center\"> <img src=\"https://static.iterative.ai/img/cml/title_strip_trim.png\" width=400> </p>",
55
"author": {
66
"name": "Iterative Inc",

0 commit comments

Comments
 (0)