mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
no version = latest version
This commit is contained in:
parent
589dfec6df
commit
f683dfc2cf
3 changed files with 11 additions and 5 deletions
|
@ -3,11 +3,17 @@ const fs = require('fs');
|
|||
const path = require('path');
|
||||
const chalk = require('chalk');
|
||||
|
||||
exports.command = ['execute <language> <language-version> <file> [args..]']
|
||||
exports.command = ['execute <language> <file> [args..]']
|
||||
exports.aliases = ['run']
|
||||
exports.describe = 'Executes file with the specified runner'
|
||||
|
||||
exports.builder = {
|
||||
languageVersion: {
|
||||
string: true,
|
||||
desc: 'Set the version of the language to use',
|
||||
alias: ['l'],
|
||||
default: '*'
|
||||
},
|
||||
stdin: {
|
||||
boolean: true,
|
||||
desc: 'Read input from stdin and pass to executor',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue