index: implement `Command` interface directly

Removes "native-command" dependency.
remove native-command.d.ts