Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Sven A. Schmidt
Sven A. Schmidt
@finestructure@mastodon.social  路  activity timestamp 2 months ago

#SwiftLang is such a nice scripting language. The only issue is that you basically always end up having to create a package.

Pro tip for when you do: use the `--type tool` flag

```
swift package init --type tool
```

when creating it. This will give you a nice scaffolding with ArgumentParser and the entry point already set up.

  • Copy link
  • Flag this post
  • Block
Konstantin 馃敪
Konstantin 馃敪
@konstantin@hachyderm.io replied  路  activity timestamp 2 months ago

@finestructure oh cool! TIL

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct