Shahidh K Muhammed
71cf017197
add an api to dump postgres schema ( close #1939 ) ( #1967 )
2019-04-30 14:04:08 +05:30
Aravind Shankar
5f02ebdefa
added feedback on migration commands ( close #1410 ) ( #1931 )
2019-04-03 16:59:58 +05:30
Aravind Shankar
1e20026ea2
added feedback for metadata commands ( close #1411 ) ( #1929 )
2019-04-03 11:22:03 +05:30
Aravind Shankar
ca7d8b3df5
rename metadata reset to metadta clear ( close #1851 ) ( #1893 )
...
The word "reset" is little ambiguous (reset to scratch or reset to last known consistent state). metadata reset clears the all the metadata to mimic a freshly installed hasura instance. This actually invokes the clear_metadata API in the backend and hence should also be called metadata clear for perfect clarity.
All references to metadata reset should be changed to metadata clear.
2019-03-29 10:44:56 +05:30
Simone Busoli
f6c11e545d
fix bash completion example docs on cli ( #1832 )
2019-03-28 07:28:20 +05:30
Aravind Shankar
8043ddeebf
accept a json or yaml file for metadata apply command ( close #1698 ) ( #1746 )
2019-03-20 10:40:06 +05:30
Aravind Shankar
040bef2fd5
add options to create migration from files from sql and server ( close #1699 ) ( #1761 )
2019-03-18 22:10:04 +05:30
nizar-m
f83a8e591f
rename access-key to admin-secret ( close #1347 ) ( #1540 )
...
Rename the admin secret key header used to access GraphQL engine from X-Hasura-Access-Key to X-Hasura-Admin-Secret.
Server CLI and console all support the older flag but marks it as deprecated.
2019-02-14 15:07:47 +05:30
Aravind Shankar
d489f2d90f
added a cli flag to skip update checks ( close #1586 ) ( #1600 )
...
adds a global flag `--skip-update-check`
2019-02-14 11:46:36 +05:30
Shahidh K Muhammed
55cc5fb044
cli: add new install script, commands ( #1556 )
2019-02-05 18:21:21 +05:30
Aravind Shankar
20be2e5ab1
add update-cli command to cli ( close #1239 ) ( #1251 )
2019-02-04 16:21:29 +05:30
Daniel Compton
a5c9347d75
update help text for console command ( close #1507 ) ( #1508 )
2019-01-29 21:32:49 +05:30
Shahidh K Muhammed
11e7c3f9d6
add anonymous telemetry ( #1401 )
2019-01-28 19:25:28 +05:30
Rakesh Emmadi
0bf2457e23
allow exposing postgres functions through GraphQL interface ( close #333 ) ( #1073 )
2019-01-25 09:01:54 +05:30
Aravind Shankar
c64a83f073
display error message for invalid migration file ( fix #1224 ) ( #1238 )
2019-01-04 15:15:54 +05:30
Anon Ray
512ee6fb9f
adds basic support for remote schemas/schema stitching ( #952 )
2018-11-23 18:32:46 +05:30
Taru
2127ae878b
fix a typo in metadata command ( #788 )
2018-10-20 08:53:20 +05:30
Abilash Menon
0993740786
add reload metadata command to the cli ( close #722 ) ( #725 )
2018-10-16 11:55:30 +05:30
Aravind
de2ceea132
update help for metadata export command ( #661 )
2018-10-08 12:54:43 +05:30
Shahidh K Muhammed
ac004fec38
validate the directory before executing migrate create ( fix #585 ) ( #586 )
2018-10-01 15:42:12 +05:30
Shahidh K Muhammed
330f90de40
add project flag, change persistentprerun to prerun ( close #552 ) ( #557 )
...
### Description
Adds `--project` flag to the CLI and changes all `PersistentPreRuns` to `PreRuns`
What component does this PR affect?
- [ ] Server
- [ ] Console
- [x] CLI
- [ ] Docs
- [ ] Community Content
- [ ] Build System
### Related Issue
#552
2018-09-27 19:27:17 +05:30
Maxim Makarov
0fc4ebf09a
fix typos in metadata command ( #493 )
2018-09-20 07:00:37 +05:30
Aravind Shankar
9c7c650d2b
migration apply should not fail if there are no migrations ( close #389 ) ( #390 )
2018-09-10 18:51:30 +05:30
Tirumarai Selvan
82e09efce6
add event triggers ( #329 )
2018-09-05 16:56:46 +05:30
Aravind Shankar
ea9b187e7c
update tests to use access key ( close #113 ) ( #296 )
...
Closes #113
2018-08-30 21:24:12 +05:30
Aravind Shankar
396a2ccf8d
change hasuradb url format, export some migrate functions ( #294 )
...
* fix migrate to use headers in query params
* export executeMigrations and PrintStatus
2018-08-22 00:07:47 +05:30
Shahidh K Muhammed
0ed3ff6418
remove manifests directory from init ( close #254 ) ( #258 )
2018-08-06 17:03:17 +05:30
Aravind Shankar
75dbe35a21
create down migrations for actions from console ( close #164 ) ( #173 )
2018-07-20 16:01:33 +05:30
Shahidh K Muhammed
9c848e2b94
add option to serve console assets from a local directory ( #145 )
...
* add option to serve console assets from a local directory
* remove /console prefix
* update gin context only if static dir is present
2018-07-18 16:22:07 +05:30
Aravind Shankar
80c1994dc2
inserts into schema_migration only once per version ( fix #127 ) ( #128 )
2018-07-12 19:54:46 +05:30
Aravind Shankar
6a20784b95
move metadata.yml file inside migrations folder, fix #122 ( #125 )
...
metadata.yaml will be present inside migrations folder
2018-07-12 18:22:25 +05:30
Aravind Shankar
1bff452cb4
handle server endpoints that contains a url path ( #64 )
2018-07-09 19:17:38 +05:30
Aravind Shankar
1998e211af
cli: update tests ( #47 )
...
* remove docker from migrate cmd test
* export migration status
* [cli] add fake writer for spinner
* Update console.go
* Update migrate_test.go
2018-07-06 10:36:27 +05:30
Shahidh K Muhammed
06fd236068
cli: close #38 handle server, cli and console versions ( #43 )
2018-07-04 18:13:52 +05:30
Shahidh K Muhammed
98c827449b
build: integrate circleci
...
integration with circleci for various workflows
2018-07-03 22:40:13 +05:30
Shahidh K Muhammed
e0a4ee88fe
cli: updates to support console versioning etc ( #30 )
...
* cli: fix version command and makefile
* cli: update console asset versioning format
* cli: change .realize from dir to file
* cli: update dependencies
2018-07-03 14:54:46 +05:30
Aravind Shankar
260d565e6e
cli: tests for metadata commands ( #18 )
...
* [cli] added urlPrefix, consoleMode
* [cli] fix: down=all should throw error if down migration is missing
* [cli] added tests for metadata
2018-06-29 15:32:33 +05:30
shahidhk
c0bf346d60
[cli] fix tests
2018-06-28 14:14:01 +05:30
Aravind Shankar
048c067fa1
[cli] add tests for migrate commands ( #9 )
2018-06-28 14:06:57 +05:30
Shahidh K Muhammed
6d0d75fbe3
[cli] add comments ( #4 )
...
Especially for godoc
2018-06-28 14:06:25 +05:30
Shahidh K Muhammed
776c550654
[cli] add docs and build tools ( #3 )
...
Includes version command and makefile integration along with docs command
2018-06-28 11:10:18 +05:30
Shahidh K Muhammed
24b656b282
[cli] add tests for some packages ( #2 )
2018-06-27 17:34:09 +05:30
Shahidh
8e41d75aa3
refactor most of the code
2018-06-26 21:39:32 +05:30
Shahidh
f7409ef2eb
add hasura cli package
2018-06-24 19:10:48 +05:30