mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 07:20:55 +01:00
modules/console: Add a stringify test cmd.
This commit is contained in:
parent
57d2cc9350
commit
83d4ce49b0
1 changed files with 7 additions and 0 deletions
|
@ -313,6 +313,13 @@ console_cmd__test(opt &out, const string_view &line)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool
|
||||||
|
console_cmd__stringify(opt &out, const string_view &line)
|
||||||
|
{
|
||||||
|
out << json::value{line} << std::endl;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Time cmd prefix (like /usr/bin/time)
|
// Time cmd prefix (like /usr/bin/time)
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue