This repository has been archived on 2021-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
libdagon/dagon_planner/cmdline.py

6 lines
160 B
Python

class Cmdline:
def __init__(self, s):
self.a = s.split("\t")
self.start = 1 if self.a[0][0] == ":" else 0
self.id = "" if self.start == 0 else self.a[0]