blob: e65ebcf8cdeb9487ca0e537b922421c56875a2e0 [file] [log] [blame]
Marcel van Lohuizen42ebafe2019-04-27 01:24:54 +02001// Code generated by cue get go. DO NOT EDIT.
2
3// Package cli provides tasks dealing with a console.
4//
5// These are the supported tasks:
6//
7// // Print sends text to the stdout of the current process.
8// Print: {
Marcel van Lohuizen44df1a82019-12-05 16:44:22 +01009// $id: *"tool/cli.Print" | "print" // for backwards compatibility
Marcel van Lohuizen42ebafe2019-04-27 01:24:54 +020010//
11// // text is the text to be printed.
12// text: string
13// }
14//
Marcel van Lohuizen6081b522019-06-22 15:43:52 +020015// // TODO:
16// // Ask prompts the current console with a message and waits for input.
17// //
18// // Example:
Marcel van Lohuizen44df1a82019-12-05 16:44:22 +010019// // task: ask: cli.Ask({
Marcel van Lohuizen6081b522019-06-22 15:43:52 +020020// // prompt: "Are you okay?"
21// // repsonse: bool
22// // })
23// // Ask: {
24// // kind: "tool/cli.Ask"
25//
26// // // prompt sends this message to the output.
27// // prompt: string
28//
29// // // response holds the user's response. If it is a boolean expression it
30// // // will interpret the answer using textual yes/ no.
31// // response: string | bool
32// // }
33//
Marcel van Lohuizen42ebafe2019-04-27 01:24:54 +020034package cli