We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e605dd commit 42b2b19Copy full SHA for 42b2b19
examples/commandline_hello.jl
@@ -2,7 +2,12 @@
2
# Build this with the `commandline_app=true` flag in `BuildApp.build_app_bundle`.
3
4
Base.@ccallable function julia_main(ARGS::Vector{String})::Cint
5
- println("Oh hi, World!")
6
- println("Current working directory: $(pwd())")
+ println("Hi what's your name?")
+ name = readline()
7
+ println("Oh hi, $name\! It's a pleasure to meet you.")
8
+ println("By the way, here's the current working directory:\n'$(pwd())'")
9
+
10
+ println("\nGoodbye! (Press enter to exit)")
11
+ readline()
12
return 0
13
end
0 commit comments