deuchnord / aurornis Goto Github PK
View Code? Open in Web Editor NEWThe Command Line Program Test Helper
License: GNU Affero General Public License v3.0
The Command Line Program Test Helper
License: GNU Affero General Public License v3.0
Provide a new argument to the run()
command:
def run(
command: [str],
environment: {str: str} = None,
remove_colors: bool = False,
+ stdin: [str] = []
) -> CommandResult
When the stdin
argument is set, each value is consecutively sent to the standard input each time the command waits for an user input.
When the command finishes, there are three possible scenarii:
In all these cases, the command should return a CommandResult
object. This object will contain a new value, consumed_stdin_values
of type int
, which contains the number of values of the standard input that have actually by consumed.
The object may also provide a new method, is_stdin_fully_consumed(): bool
, that returns True
if and only if consumed_stdin_values
is exacly equal to the number of values provided in the stdin
argument of the run()
function.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.