mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
fix cli
This commit is contained in:
parent
543cb11e69
commit
93188099b7
3 changed files with 15 additions and 12 deletions
|
@ -8,7 +8,7 @@ exports.aliases = ['run'];
|
|||
exports.describe = 'Executes file with the specified runner';
|
||||
|
||||
exports.builder = {
|
||||
version: {
|
||||
language_version: {
|
||||
string: true,
|
||||
desc: 'Set the version of the language to use',
|
||||
alias: ['l'],
|
||||
|
@ -55,7 +55,7 @@ exports.handler = async (argv) => {
|
|||
|
||||
const request = {
|
||||
language: argv.language,
|
||||
version: argv['language-version'],
|
||||
version: argv['language_version'],
|
||||
files: files,
|
||||
args: argv.args,
|
||||
stdin,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue