We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tns devices <platform>
1 parent 4e02f60 commit 52dc4f5Copy full SHA for 52dc4f5
lib/commands/devices.ts
@@ -1,6 +1,8 @@
1
export class DevicesCommand implements ICommand {
2
3
- public allowedParameters: ICommandParameter[] = [];
+ constructor(private $stringParameter: ICommandParameter) {}
4
+
5
+ public allowedParameters: ICommandParameter[] = [this.$stringParameter];
6
7
public execute(args: string[]): IFuture<void> {
8
return $injector.resolveCommand("device").execute(args);
0 commit comments