--stdout support; idetools implemented
This commit is contained in:
parent
0a4498bd6b
commit
f8dd74a073
17 changed files with 188 additions and 112 deletions
11
rod/main.nim
11
rod/main.nim
|
|
@ -251,9 +251,10 @@ proc MainCommand(cmd, filename: string) =
|
|||
gCmd = cmdGenDepend
|
||||
wantFile(filename)
|
||||
CommandGenDepend(filename)
|
||||
of wListDef:
|
||||
gCmd = cmdListDef
|
||||
of wDump:
|
||||
gCmd = cmdDump
|
||||
condsyms.ListSymbols()
|
||||
for it in iterSearchPath(): MessageOut(it)
|
||||
of wCheck:
|
||||
gCmd = cmdCheck
|
||||
wantFile(filename)
|
||||
|
|
@ -270,9 +271,9 @@ proc MainCommand(cmd, filename: string) =
|
|||
of wI:
|
||||
gCmd = cmdInteractive
|
||||
CommandInteractive()
|
||||
of wSuggest:
|
||||
gCmd = cmdSuggest
|
||||
of wIdeTools:
|
||||
gCmd = cmdIdeTools
|
||||
wantFile(filename)
|
||||
CommandSuggest(filename)
|
||||
else: rawMessage(errInvalidCommandX, cmd)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue