Skip to content
Snippets Groups Projects
Commit d37f2cdd authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

renmae wiki subcommand to content

parent 420690bd
No related branches found
No related tags found
2 merge requests!122Front matter linter,!93Resolve "front-matter linter"
Pipeline #116615 passed with warnings
This commit is part of merge request !93. Comments created here will be created in the context of that merge request.
......@@ -171,7 +171,7 @@ lint:
- pip install df-wiki-cli --index-url https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.pasteur.fr/api/v4/projects/5222/packages/pypi/simple
- cd content/3.defense-systems
script:
- find . -name '*.md' -print0 | xargs -0 -I {} df-wiki-cli wiki lint --file {}
- find . -name '*.md' -print0 | xargs -0 -I {} df-wiki-cli content lint --file {}
when: manual
rules:
- if: $CI_COMMIT_BRANCH != "main"
......
......@@ -3,14 +3,13 @@ from pathlib import Path
from typing_extensions import Annotated
from df_wiki_cli.articles import fetch_articles
from df_wiki_cli.pfam import fetch_pfam
from df_wiki_cli.meilisearch import main
from df_wiki_cli.wiki import main as wikiMain
from df_wiki_cli.meilisearch import main as ms_main
from df_wiki_cli.content import main as content_main
# from df_wiki_cli.ms import main as ms_main
app = typer.Typer()
app.add_typer(main.app, name="meilisearch")
app.add_typer(wikiMain.app, name="wiki")
app.add_typer(ms_main.app, name="meilisearch")
app.add_typer(content_main.app, name="content")
@app.callback()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment