-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
2e9ee46
commit ae717c1
Showing
7 changed files
with
43 additions
and
11 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Connectivity - Strongly Connected Component.md | ||
KMP.md | ||
Minimize_The_Number_of_Swaps_to_Sort_List.md | ||
Sieve of Euler.md | ||
Sieve of Euler.md | ||
Strongly Connected Component.md |
File renamed without changes.
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 |
---|---|---|
|
@@ -7,4 +7,5 @@ Linear_Algebra | |
AMC.md | ||
AdvancedFormalLanguageTheory.md | ||
TDA.md | ||
AbstractAlgebra.md | ||
AbstractAlgebra.md | ||
Complexity |
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 @@ | ||
Ladner Theorem.md |
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
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,31 @@ | ||
import os | ||
import yaml # pyyaml | ||
from pathlib import Path | ||
import sys | ||
import typer | ||
|
||
app = typer.Typer() | ||
|
||
# A node corresponds to a folder or a file | ||
class Node(): | ||
def __init__(self, name): | ||
self.name = name | ||
self.ismdfile = None | ||
self.childs = [] | ||
self.order = None | ||
self.visible = True | ||
|
||
@app.callback(invoke_without_command=True) | ||
def update(): | ||
print("Haha callback works") | ||
|
||
@app.command() | ||
def reorder(node_name: str): | ||
print(node_name) | ||
|
||
if __name__ == '__main__': | ||
app() | ||
|
||
|
||
|
||
|
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