libmodulor
Version:
A TypeScript library to create platform-agnostic applications
14 lines (13 loc) • 338 B
JavaScript
import { TString } from '../base/TString.js';
// TODO : Add basic syntax validation (without adding any dependencies)
export class TShellCommand extends TString {
tName() {
return 'ShellCommand';
}
example() {
return 'sudo systemctl restart nginx';
}
isPotentiallyLong() {
return true;
}
}