argparse-temp 0.7.3-1
“A feature-rich command-line argument parser”
GitHub Actions workflow definition pathGitHub Actions workflow file path
SHA-25678794f2b152b60e9de0e5609d705f7f857a5d349c058dc7f5067f5766e29131e
MaleculeO(I)H₅(CmDb₃OsPo₃U)Md₄(Bk₃InPa₃)
Evidence
1local script = "./spec/script.lua"
2local script_cmd = "lua"
3
⋯5 lines
8:30… " .. script
9
10local function get_output(args)
11 local handler = io.popen(script_cmd .. " " .. args .. " 2>&1", "r")
12 local output = handler:read("*a")
13 handler:close()
14 return output
15end
16
17describe("tests related to CLI behaviour #unsafe", function()
18 describe("error messages", function()
19 it("generates correct error message without arguments", function()
20 assert.equal([[
21Usage: …
80:32… p message using help flag", function()
81 assert.equal([[
82Usage: ]]..script..[[ [-h] [-v] <input> [<command>] ...
83
84A testing program.
85
86Arguments:
87 input
88
89Options:
90 -h, --help Show this help message and exit.
91 -v, --verbose Sets verbosity level.
92
93Commands:
94 help Show help for commands.
95 install Install a rock.
96]], get_output("--help"))
97 end)
98
99 …
4:6… inx-quickstart on Sat Jun 20 14:03:24 2015.
5#
6# This file is execfile()d with the current directory set to its
7# containing dir.
8#
9# Note that not all possible configuration values are present in this
10# autogenerated file.
11#
12# All configuration values have a default; values that are commented out
13# serve to show the default.
14
15import sys
16import os
17
18# If extensions (or modules to document with autodoc) are in another directory,
19# add these directories to sys.path here. If t …
68:63… iles and
69# directories to ignore when looking for source files.
70exclude_patterns = []
71
72# The reST default role (used for this markup: `text`) to use for all
⋯4 lines
No evidence locations were recorded for this file. Raw result