Skip to content

carabina/tryswiftdev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tryswiftdev 🛠

This is a command line tool for open-source projects. 💁

Currently, support OS X only. 🙏


A Work In Progress

This project has been rewriting in Swift.

It is built with the Swift Package Manager.

Maybe it is easily to write a shell (e.g. Bash), but this is exactly "try! Swift".



Installing

Please download the tryswiftdev.pkg in the Releases and install it.

This is a test release. It has not gone through the testing.

By default, get tryswiftdev into the /usr/local/bin/ directory.

You can verify your installation by typing tryswiftdev in a Terminal.app.

$ tryswiftdev

Options

-d [--duplicate-readme]    Duplicate an existing README.md.
                            Do not overwrite an existing file.
-r [--replace-readme]      Replace strings in a README.md
                            located in the current directory.
-h [--help]                Display available options.

Example

Please prepare a target directory beforehand. (e.g. DragonBall)

HomeDirectory
├── Pokemon
│   └── README.md (Pokemon)
└── DragonBall

Duplicating a README.md

$ tryswiftdev -d ./Pokemon ./DragonBall
HomeDirectory
├── Pokemon
│   └── README.md (Pokemon)
└── DragonBall
    └── README.md (Pokemon) ✨

Replacing Strings in a README.md

$ cd DragonBall
$ tryswiftdev -r Pokemon DragonBall
HomeDirectory
├── Pokemon
│   └── README.md (Pokemon)
└── DragonBall
    └── README.md (DragonBall) ✨

Availability

Recommend Swift 3.0-dev.


ToDo

  • Error Handling
  • Tests

etc.


License

Licensed under the MIT License.

About

A command line tool for open-source projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%