poscat0x04 / hinit Goto Github PK
View Code? Open in Web Editor NEWA generic project initialization tool written in Haskell.
License: BSD 3-Clause "New" or "Revised" License
A generic project initialization tool written in Haskell.
License: BSD 3-Clause "New" or "Revised" License
I have temp-fixed the build in nixpkgs with a jailbreak. These are the bounds, that can be loosened:
> Configuring hinit-0.2.2...
>
> Setup: Encountered missing or private dependencies:
> Cabal >=3.2.0 && <3.3,
> mustache >=2.3.1 && <2.4,
> parser-combinators >=1.2.1 && <1.3,
> path-io >=1.6.2 && <1.7
Currently, HI relies on the file system to read templates. We should support reading templates from other sources, such as tar files as well. A proper way of achieving this that I can think of is to design a generic template format that can be plugged into different backends.
When including an option in template.toml
without a default:
field, with type:
set to text
, I'm prompted for a Bool
.
# bug-test/template.toml
desc = "Template to test interactive bug"
ignores = []
tags = []
[[options]]
type = "text"
name = "myfield"
# bug-test/file.txt
{{ myfield }}
hinit
$ hi init bug-test bug-test
Please input the value of option
myfield : Bool
(y/n)>
This is weird, we're being prompted for a Bool
even though we specified myfield
is a text
. Also:
Please input the value of option
myfield : Bool
(y/n)> y
Error: failed to substitute the contents of file file.txt:
• DirectlyRenderedValue False
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.