-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
from commands.commandenv import ResultRow | ||
from commands import MutuallyExclusiveGroup, ParseArgument | ||
from formatting import RowFormat, ColumnFormat | ||
|
||
###################################################################### | ||
# Parser config | ||
|
||
help=#'Terse description of command' | ||
name=#'cmd' | ||
epilog=#None | ||
arguments = [ | ||
#ParseArgument('near', help='System to start from', type=str), | ||
] | ||
switches = [ | ||
#ParseArgument('--ly-per', | ||
# help='Maximum light years per jump.', | ||
# dest='maxLyPer', | ||
# metavar='N.NN', | ||
# type=float, | ||
# ), | ||
] | ||
|
||
###################################################################### | ||
# Helpers | ||
|
||
###################################################################### | ||
# Perform query and populate result set | ||
|
||
def run(results, cmdenv, tdb): | ||
|
||
### TODO: Implement | ||
|
||
return results | ||
|
||
###################################################################### | ||
# Transform result set into output | ||
|
||
def render(results, cmdenv, tdb): | ||
### TODO: Implement |