Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write utility cli script to draw hexagons #7

Open
njourdane opened this issue May 6, 2024 · 0 comments
Open

Write utility cli script to draw hexagons #7

njourdane opened this issue May 6, 2024 · 0 comments

Comments

@njourdane
Copy link
Owner

Syntax must be defined.

Usage

hexadraw [arguments] <list of hexagons...>

Arguments

  • default type:
    • -p, --pointy: use pointy-top character set;
    • -f, --flat: use flat-top character set;
    • -c, --compact: use small pointy-top character set;
  • default size:
    • -s[size], --size [size]: size can be a number (ie. 4) or [u][v][w] (ie. 456).
  • default line style:
    • -u, --unique: unique line style;
    • -d, --double: double line style.

Hexagons listing

Information required for each hexagon:

  • X/Y coordinates of the top-left corner;
  • text;
  • options defined above (type, style (order is relevant), size.

Syntax: <x pos>-<y pos>-[options]:text

Examples:

  • 3-4:foo
  • 5-6-c:F
  • 7-12-fd:bar
  • 15-7-ps567u:baz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant