9 comments

  • porridgeraisin 8 hours ago ago

    It'll be nice if you could make it level 2 headers. Reason: if we want to make it html to display as a webpage, we won't end up with multiple H1s, and we can have a H1 for like the name of the app or something.

    • timz 5 hours ago ago

      Great suggestion. On it

  • zahlman 5 hours ago ago

    >One can type `--help` after `x my-command` to print out the help associated with that command.

    I assume that there is no support for the scripts having their own command-line arguments? Or how do you disambiguate?

    Anyway, this seems like an interesting demo, but it's hard to imagine the use case.

    • timz 5 hours ago ago

      When --help is provided, the help text from x.md is printed. Otherwise all the command line parameters are passed to the actual script that implements the command.

  • timz 3 hours ago ago

    published 0.3 version pnpm install -g @tzador/x.md

    - better --help messages with or without command - ## level 2 headers are used - the temp file is created in current folder, like that importing npm modules from current project works

  • az09mugen 8 hours ago ago

    That's an interesting idea you had, it makes me think of a mix between a jupyter notebook and a makefile, sort of, based on md files. I like the concept, but I need to test it to see if it fits my needs. Just a question about python and zsh, do they need to be pre-installed in your OS and accessible from PATH, that's it ?

    • cobalt60 5 hours ago ago

      ansible for markdown?

  • mutant 12 hours ago ago

    404