mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-17 01:32:37 +02:00
remove magic command capability since dir is a shell builtin
This commit is contained in:
@ -6,16 +6,14 @@ Options supported:
|
|||||||
- `/C, /-C`
|
- `/C, /-C`
|
||||||
- `/S`
|
- `/S`
|
||||||
|
|
||||||
|
The "Magic" syntax is not supported since the `dir` command is a shell builtin.
|
||||||
|
|
||||||
The `epoch` calculated timestamp field is naive (i.e. based on the local time of the system the parser is run on)
|
The `epoch` calculated timestamp field is naive (i.e. based on the local time of the system the parser is run on)
|
||||||
|
|
||||||
Usage (cli):
|
Usage (cli):
|
||||||
|
|
||||||
C:> dir | jc --dir
|
C:> dir | jc --dir
|
||||||
|
|
||||||
or
|
|
||||||
|
|
||||||
C:> jc dir
|
|
||||||
|
|
||||||
Usage (module):
|
Usage (module):
|
||||||
|
|
||||||
import jc.parsers.dir
|
import jc.parsers.dir
|
||||||
@ -121,14 +119,13 @@ import jc.utils
|
|||||||
|
|
||||||
class info():
|
class info():
|
||||||
"""Provides parser metadata (version, author, etc.)"""
|
"""Provides parser metadata (version, author, etc.)"""
|
||||||
version = '1.2'
|
version = '1.3'
|
||||||
description = '`dir` command parser'
|
description = '`dir` command parser'
|
||||||
author = 'Rasheed Elsaleh'
|
author = 'Rasheed Elsaleh'
|
||||||
author_email = 'rasheed@rebelliondefense.com'
|
author_email = 'rasheed@rebelliondefense.com'
|
||||||
|
|
||||||
# compatible options: win32
|
# compatible options: win32
|
||||||
compatible = ['win32']
|
compatible = ['win32']
|
||||||
magic_commands = ['dir']
|
|
||||||
|
|
||||||
|
|
||||||
__version__ = info.version
|
__version__ = info.version
|
||||||
|
Reference in New Issue
Block a user