mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-22 10:11:01 +00:00
Remove unused code from balena note
Change-type: patch Signed-off-by: Scott Lowe <scott@balena.io>
This commit is contained in:
parent
cbe12d5be7
commit
9aa6b0bc57
@ -1284,10 +1284,6 @@ device UUID
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### --stdin
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# OS
|
# OS
|
||||||
|
|
||||||
## os versions <type>
|
## os versions <type>
|
||||||
|
@ -26,7 +26,6 @@ import { getBalenaSdk } from '../utils/lazy';
|
|||||||
interface FlagsDef {
|
interface FlagsDef {
|
||||||
device?: string; // device UUID
|
device?: string; // device UUID
|
||||||
dev?: string; // Alias for device.
|
dev?: string; // Alias for device.
|
||||||
stdin: boolean;
|
|
||||||
help: void;
|
help: void;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,7 +50,6 @@ export default class NoteCmd extends Command {
|
|||||||
public static args = [
|
public static args = [
|
||||||
{
|
{
|
||||||
name: 'note',
|
name: 'note',
|
||||||
// required: true,
|
|
||||||
description: 'note content',
|
description: 'note content',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
@ -64,10 +62,6 @@ export default class NoteCmd extends Command {
|
|||||||
exclusive: ['device'],
|
exclusive: ['device'],
|
||||||
hidden: true,
|
hidden: true,
|
||||||
}),
|
}),
|
||||||
// Hack to read stdin with oclif
|
|
||||||
stdin: flags.boolean({
|
|
||||||
hidden: true,
|
|
||||||
}),
|
|
||||||
help: cf.help,
|
help: cf.help,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user