Better HN
topnewbestaskshowjobs
Log inSign up

maaslalani

41 karma · joined Jan 14, 2019 (7y ago) · 19 submissions

Submissions

comment 8mo ago · link · parent

That’s correct

comment 8mo ago · link · parent

Agreed!

comment 3y ago · link · parent

You can use the `--to` flag and something like FZF or Gum to populate that from a text file.

`pop --to $(fzf contacts.txt)`

comment 3y ago · link · parent

Totally, thanks so much! Also I do plan on adding different templates in the future through a --template flag which would write different PDFs based on the value selected.

comment 3y ago · link · parent

Hey! Author here, I probably would have posted this to HN since this tool is just meant to make invoice generation possible from the command line. Now that we have this tool it's quite easy to add more templates (just another flag) and it can customize the look of the invoice.

comment 3y ago · link · parent

Same here, finally got around to building it! Thanks for the support!

comment 3y ago · link · parent

Yes! Soon, there will be JSON / YAML import support. I definitely want to add some more templates as well.

comment 3y ago · link · parent

Yes, this is definitely possible with troff/groff/latex/etc... I built this tool as I wanted nice looking invoices that could be generated instantly. I want to add templates in the future so that I can change the style as well. I spend most of my time on the CLI so having interoperability with other tools such as `date` and `time` etc... to combine commands and script the generation process was one of my goals.

comment 3y ago · link · parent

That's a good point. I definitely want to support different formats will probably need to support a --format and --template flag as well.

10.

Rethinking search results ranking on Sourcegraph(about.sourcegraph.com ↗)

4 points · by maaslalani · 4y ago · discuss

comment 4y ago · link · parent

We definitely want to add an option to record a session which would output a generated file for you!

comment 4y ago · link · parent

This is actually really cool. Thanks for sharing this!

comment 4y ago · link · parent

We started off hand rolling the parser and had that fully implemented and then wrote the tree-sitter grammar. If I were to do it again I would probably use tree-sitter for the actual repo so that the implementations were the same for sure.

comment 4y ago · link · parent

Author here. Fair point! Definitely forgot to compress it and make it smaller. Thanks for the call out.

comment 4y ago · link · parent

Thank you so much for the kind words! It really means a lot.

16.

Show HN: Gum, a tool for glamorous shell scripts(github.com ↗)

55 points · by maaslalani · 4y ago · 9 comments

comment 4y ago · link · parent

I've been using Charm tools and libraries for a while now, truly some of the coolest stuff I've ever experienced on the command line.

comment 5y ago · link · parent

Slides also allows embedding snippets and executing code blocks and displaying results, by the way! Also it can accept input from stdin so you can use pandoc to convert to markdown before piping the output into slides to make that work :D

19.

Show HN: Hawkeye Access – Control your Mac using head movements

7 points · by maaslalani · 6y ago · discuss