Skip to content

issues Search Results · repo:sander76/clipstick language:Python

Filter by

30 results
 (68 ms)

30 results

insander76/clipstick (press backspace or delete to remove)

In this case: # clipstick_cmds.py from clipstick import parse from pydantic import BaseModel class AlfaCmd(BaseModel): Hacer cosas de alfa uno: str Parámetro para alfa ...
  • richieadler
  • Opened 
    on Aug 15, 2024
  • #62

Given # adder1.py from clipstick import parse from pydantic import BaseModel class Adder(BaseModel): ints: int def run(self): print(sum([self.ints])) cmd = parse(Adder) cmd.run() this ...
  • richieadler
  • Opened 
    on Aug 15, 2024
  • #61

when you are calling your cli as a module which has a __main__.py entrypoint your help output shows like this: Usage: __main__.py [Arguments] [Options] which is not very descriptive. An alternative is ...
  • sander76
  • Opened 
    on Mar 11, 2024
  • #58

Consider this code: from cli.Config import Load as LoadConfig class Main(BaseModel): sub_command: LoadConfig | Delete # the LoadConfig is important here. In help output the original load command ...
  • sander76
  • Opened 
    on Feb 19, 2024
  • #56

Sometimes (many times ?) it is unncecessary to display typing info in your help as the help text (the docstring) itself is descriptive enough to not need the typing information.
  • sander76
  • Opened 
    on Jan 19, 2024
  • #54

divide a multiline docstring into two parts. Short part (as a summary) and a long part. This can be used in help output. The clone subcommand in the example below should only have the summary help. The ...
  • sander76
  • 1
  • Opened 
    on Jan 8, 2024
  • #50

  • sander76
  • Opened 
    on Jan 7, 2024
  • #49

expecting to see the types to be displayed in help, but they are not.
  • sander76
  • 1
  • Opened 
    on Jan 4, 2024
  • #47

Hi @sander76, I am trying clipstick for the first time. Love the feeling, elegant minimal. I take my 🎩 off! The issue I am facing, I don t recall seeing in the docs, how do I handle the optional argument ...
  • NikolayXHD
  • 3
  • Opened 
    on Jan 3, 2024
  • #45
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub