Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 467 Bytes

File metadata and controls

34 lines (25 loc) · 467 Bytes

Example

hello

The config file of hello.conf

packages = ["github.com/flow-contrib/example"]

app {
	name = "hello"
	usage = "This is a demo for run flow"

	commands {
		say {
			usage = "This command will print hello"

			default-config = { name = "gogap" }

			flow = ["example.hello", "example.hello@confA"]
			
			config = {
    		  confA = {
    			 name = "Zeal"
            }
		}
	}
}
go-flow run say --config hello.conf