Are there any way to get compile command in compile time? I know that std/parseopt enables to get runtime option.
Then, I wonder how to get compile option in compile time.
I'm not sure if you can access all options, but some can be accessed eg. defines: https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-compileminustime-define-pragmas
And you can access the --cpu and --os via hostCpu and hostOs consts in system.