strata-cli 0.1.0.beta → 0.1.1.beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/README.md +7 -33
- data/lib/strata/cli/utils/deployment_monitor.rb +1 -3
- data/lib/strata/cli/utils/test_reporter.rb +1 -1
- data/lib/strata/cli/version.rb +1 -1
- metadata +11 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9887ae6b4d871118361a7ef0b90c6b07a5095c59f8b7acc812aefc4ef8e5a58
|
|
4
|
+
data.tar.gz: e2fba95feba89bb6193d563f7b2dba3e594ea57915c56700f9228b29783c942a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d131c145bc2cf2aab4c532266f2d7bd8df1026053ff3b0cce4734867132ec6f2500147b645aecf28fe1e2a3d3d99803d26ce02e7484f6f0d4c9a399fa9ccd8e0
|
|
7
|
+
data.tar.gz: a7c089088c80acbc89e9de821de1ab482a4d51f685ac3a06089f1e0469945e05720fdebdb09ea9d114c14cf7c7768c0073d5b3a26bcf357a45ba7fbc474723ce
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -8,34 +8,12 @@ Command-line interface for the Strata Semantic Analytics System. Create, manage,
|
|
|
8
8
|
gem install strata-cli
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Or add to your Gemfile:
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
bundle add strata-cli
|
|
15
|
-
```
|
|
16
|
-
|
|
17
11
|
## Requirements
|
|
18
12
|
|
|
19
13
|
- Ruby >= 3.4.4
|
|
20
14
|
- Git (for deployment features)
|
|
21
15
|
- Access to a Strata server
|
|
22
16
|
|
|
23
|
-
## Quick Start
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
# Initialize a new project
|
|
27
|
-
strata init my-project
|
|
28
|
-
|
|
29
|
-
# Add a datasource
|
|
30
|
-
strata datasource add
|
|
31
|
-
|
|
32
|
-
# Create a semantic table model
|
|
33
|
-
strata create table customers
|
|
34
|
-
|
|
35
|
-
# Deploy to server
|
|
36
|
-
strata deploy
|
|
37
|
-
```
|
|
38
|
-
|
|
39
17
|
## Commands Overview
|
|
40
18
|
|
|
41
19
|
> 💡 **Tip:** Run `strata COMMAND --help` for detailed help, options, and examples on any command. The CLI help system provides comprehensive documentation for each command.
|
|
@@ -306,9 +284,9 @@ project_id: 123 # Auto-populated after first deployment
|
|
|
306
284
|
server: http://localhost:3000
|
|
307
285
|
|
|
308
286
|
# Environment-specific configs
|
|
309
|
-
|
|
310
|
-
server:
|
|
311
|
-
api_key:
|
|
287
|
+
staging:
|
|
288
|
+
server: https://staging.strata.com
|
|
289
|
+
api_key: staging-key
|
|
312
290
|
|
|
313
291
|
production:
|
|
314
292
|
server: https://app.strata.com
|
|
@@ -436,7 +414,7 @@ strata deploy
|
|
|
436
414
|
After checking out the repo:
|
|
437
415
|
|
|
438
416
|
```bash
|
|
439
|
-
|
|
417
|
+
bundle install
|
|
440
418
|
```
|
|
441
419
|
|
|
442
420
|
Run tests:
|
|
@@ -445,16 +423,12 @@ Run tests:
|
|
|
445
423
|
rake test
|
|
446
424
|
```
|
|
447
425
|
|
|
448
|
-
Install locally:
|
|
449
|
-
|
|
450
|
-
```bash
|
|
451
|
-
bundle exec rake install
|
|
452
|
-
```
|
|
453
|
-
|
|
454
426
|
Release a new version:
|
|
455
427
|
|
|
456
428
|
1. Update version in `lib/strata/cli/version.rb`
|
|
457
|
-
2.
|
|
429
|
+
2. Update `CHANGELOG.md` with the new version and changes
|
|
430
|
+
3. Commit the changes: `git add lib/strata/cli/version.rb CHANGELOG.md && git commit -m "Bump version to X.Y.Z"`
|
|
431
|
+
4. Run `bundle exec rake release` (builds gem, creates git tag, and pushes to rubygems.org)
|
|
458
432
|
|
|
459
433
|
## Contributing
|
|
460
434
|
|
|
@@ -418,12 +418,10 @@ module Strata
|
|
|
418
418
|
return nil if latest_test_run.nil? && @has_tests == true
|
|
419
419
|
|
|
420
420
|
display_test_results_if_available(deployment)
|
|
421
|
-
return deployment
|
|
422
421
|
else
|
|
423
422
|
display_final_status(deployment)
|
|
424
|
-
return deployment
|
|
425
423
|
end
|
|
426
|
-
|
|
424
|
+
deployment
|
|
427
425
|
end
|
|
428
426
|
|
|
429
427
|
def display_test_results_if_available(deployment)
|
|
@@ -110,7 +110,7 @@ module Strata
|
|
|
110
110
|
say " Generated: #{truncate(test["generated_sql"], 200)}", :error
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
-
if test["failing_values"]
|
|
113
|
+
if test["failing_values"]&.is_a?(Array) && test["failing_values"].any?
|
|
114
114
|
sample_values = test["failing_values"].first(5)
|
|
115
115
|
say " Sample failing values: #{sample_values.inspect}", :error
|
|
116
116
|
end
|
data/lib/strata/cli/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: strata-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1.beta
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ajo Abraham
|
|
8
|
+
- Allen Jiji
|
|
8
9
|
bindir: exe
|
|
9
10
|
cert_chain: []
|
|
10
11
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
@@ -191,10 +192,14 @@ dependencies:
|
|
|
191
192
|
- - "~>"
|
|
192
193
|
- !ruby/object:Gem::Version
|
|
193
194
|
version: '0.3'
|
|
194
|
-
description:
|
|
195
|
-
|
|
195
|
+
description: |
|
|
196
|
+
Comprehensive CLI tool for managing Strata Semantic Analytics projects. Create and initialize
|
|
197
|
+
projects, manage datasource connections, build semantic table models with AI assistance, run
|
|
198
|
+
audits and validations, and deploy projects to Strata servers. Supports multiple data warehouse
|
|
199
|
+
adapters including PostgreSQL, MySQL, SQL Server, Snowflake, Athena, Trino, and more.
|
|
196
200
|
email:
|
|
197
201
|
- ajo@strata.site
|
|
202
|
+
- allen@strata.site
|
|
198
203
|
executables:
|
|
199
204
|
- strata
|
|
200
205
|
extensions: []
|
|
@@ -277,15 +282,11 @@ files:
|
|
|
277
282
|
- lib/strata/cli/utils/yaml_import_resolver.rb
|
|
278
283
|
- lib/strata/cli/version.rb
|
|
279
284
|
- sig/strata/cli.rbs
|
|
280
|
-
homepage: https://strata.
|
|
285
|
+
homepage: https://strata.site
|
|
281
286
|
licenses:
|
|
282
287
|
- MIT
|
|
283
288
|
metadata:
|
|
284
|
-
homepage_uri: https://strata.
|
|
285
|
-
source_code_uri: https://github.com/stratasite/strata-cli.git
|
|
286
|
-
changelog_uri: https://github.com/stratasite/strata-cli/blob/master/CHANGELOG.md
|
|
287
|
-
bug_tracker_uri: https://github.com/stratasite/strata-cli/issues
|
|
288
|
-
documentation_uri: https://github.com/stratasite/strata-cli#readme
|
|
289
|
+
homepage_uri: https://strata.site
|
|
289
290
|
rdoc_options: []
|
|
290
291
|
require_paths:
|
|
291
292
|
- lib
|
|
@@ -302,5 +303,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
302
303
|
requirements: []
|
|
303
304
|
rubygems_version: 3.6.9
|
|
304
305
|
specification_version: 4
|
|
305
|
-
summary:
|
|
306
|
+
summary: Command-line interface for the Strata Semantic Analytics System
|
|
306
307
|
test_files: []
|