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

Replace hypar new with starter project repos. #24

Closed
ikeough opened this issue Jul 9, 2018 · 1 comment
Closed

Replace hypar new with starter project repos. #24

ikeough opened this issue Jul 9, 2018 · 1 comment
Labels
CLI Enhancement New feature or request

Comments

@ikeough
Copy link
Contributor

ikeough commented Jul 9, 2018

The idea of creating a .net project, having to change directories into that project, then building the project, is a workflow that is foreign to some of our early adopters. For these early adopters, the whole project setup and build pipeline is currently handled by Visual Studio.

The CLI doesn't have to do as much work in hypar new. Currently, there is bootstrapping code in the new command which creates a project and a default class file. This can be replaced with a github repository that has everything a starter project needs. We didn't do this initially for fear that having github as a dependency would be a stumbling block. But it seems that some early adopters are more comfortable using github (most likely through the GUI) than they are using the command line.

The workflow would therefore look like this:

  • User does git clone https://github.com/hypar-io/dotnet-starter or git clone https://github.com/hypar-io/python-starter.
  • For a .net project, the user opens Visual Studio and opens the created .sln file. They can build and test from Visual Studio.

For dotnet, the starter project could also have the Hypar CLI as a build tool, so we wouldn't have to distribute the CLI using a zip.

@MarkThorley

@ikeough ikeough added Enhancement New feature or request CLI labels Jul 9, 2018
@ikeough ikeough changed the title Replace hypar new with git clone hypar-start. Replace hypar new with starter project repos. Jul 9, 2018
@ikeough
Copy link
Contributor Author

ikeough commented Sep 29, 2018

The CLI's new command has been updated to clone from the starter repo. The user can now do hypar new foo and the starter repo will be cloned into foo ready to publish :)

@ikeough ikeough closed this as completed Sep 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant