mirror of https://github.com/Hilbis/Hilbish
Compare commits
3 Commits
f3f49fc398
...
29c1e29bb7
Author | SHA1 | Date |
---|---|---|
TorchedSammy | 29c1e29bb7 | |
TorchedSammy | 105552ac74 | |
TorchedSammy | f28fd7e6c0 |
46
CHANGELOG.md
46
CHANGELOG.md
|
@ -1,6 +1,6 @@
|
||||||
# 🎀 Changelog
|
# 🎀 Changelog
|
||||||
|
|
||||||
## [1.0.0] - 2021-03-04
|
## [1.0.0] - 2021-03-05
|
||||||
### Added
|
### Added
|
||||||
- MacOS is now officialy supported, default compile time vars have been added
|
- MacOS is now officialy supported, default compile time vars have been added
|
||||||
for it
|
for it
|
||||||
|
@ -58,27 +58,27 @@ is true
|
||||||
- `hilbish.complete()` has had a slight refactor to fit with the new readline library.
|
- `hilbish.complete()` has had a slight refactor to fit with the new readline library.
|
||||||
It now expects a table of "completion groups" which are just tables with the
|
It now expects a table of "completion groups" which are just tables with the
|
||||||
`type` and `items` keys. Here is a (more or less) complete example of how it works now:
|
`type` and `items` keys. Here is a (more or less) complete example of how it works now:
|
||||||
```lua
|
```lua
|
||||||
hilbish.complete('command.git', function()
|
hilbish.complete('command.git', function()
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
items = {
|
items = {
|
||||||
'add',
|
'add',
|
||||||
'clone'
|
'clone'
|
||||||
},
|
},
|
||||||
type = 'grid'
|
type = 'grid'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
items = {
|
items = {
|
||||||
['--git-dir'] = {'Description of flag'},
|
['--git-dir'] = {'Description of flag'},
|
||||||
'-c'
|
'-c'
|
||||||
},
|
},
|
||||||
type = 'list'
|
type = 'list'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end)
|
end)
|
||||||
```
|
```
|
||||||
Completer functions are now also expected to handle subcommands/subcompletions
|
Completer functions are now also expected to handle subcommands/subcompletions
|
||||||
|
|
||||||
## [0.7.1] - 2021-11-22
|
## [0.7.1] - 2021-11-22
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -367,7 +367,7 @@ This input for example will prompt for more input to complete:
|
||||||
|
|
||||||
First "stable" release of Hilbish.
|
First "stable" release of Hilbish.
|
||||||
|
|
||||||
[0.7.1]: https://github.com/Rosettea/Hilbish/compare/v0.7.1...v1.0.0
|
[1.0.0]: https://github.com/Rosettea/Hilbish/compare/v0.7.1...v1.0.0
|
||||||
[0.7.1]: https://github.com/Rosettea/Hilbish/compare/v0.7.0...v0.7.1
|
[0.7.1]: https://github.com/Rosettea/Hilbish/compare/v0.7.0...v0.7.1
|
||||||
[0.7.0]: https://github.com/Rosettea/Hilbish/compare/v0.6.1...v0.7.0
|
[0.7.0]: https://github.com/Rosettea/Hilbish/compare/v0.6.1...v0.7.0
|
||||||
[0.6.1]: https://github.com/Rosettea/Hilbish/compare/v0.6.0...v0.6.1
|
[0.6.1]: https://github.com/Rosettea/Hilbish/compare/v0.6.0...v0.6.1
|
||||||
|
|
Loading…
Reference in New Issue