herrjulz / goml Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
After upgrading my macOS to Monterey
, I ran the goml command and it is giving me this error..
$ goml
fatal error: runtime: bsdthread_register error
runtime stack:
runtime.throw(0x11c91b4, 0x21)
/usr/local/Cellar/go/1.10.3/libexec/src/runtime/panic.go:616 +0x81 fp=0x7ff7bfeff5e8 sp=0x7ff7bfeff5c8 pc=0x1028301
runtime.goenvs()
/usr/local/Cellar/go/1.10.3/libexec/src/runtime/os_darwin.go:129 +0x83 fp=0x7ff7bfeff618 sp=0x7ff7bfeff5e8 pc=0x1025e83
runtime.schedinit()
/usr/local/Cellar/go/1.10.3/libexec/src/runtime/proc.go:501 +0xd6 fp=0x7ff7bfeff680 sp=0x7ff7bfeff618 pc=0x102abf6
runtime.rt0_go(0x7ff7bfeff6b8, 0x1, 0x7ff7bfeff6b8, 0x0, 0x1000000, 0x1, 0x7ff7bfeff868, 0x0, 0x7ff7bfeff86d, 0x7ff7bfeff8a9, ...)
/usr/local/Cellar/go/1.10.3/libexec/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ff7bfeff688 sp=0x7ff7bfeff680 pc=0x104dd64
I tried uninstalling and reinstalling but it didn't work..
Could you please add a goml.exe for windows to the list of executables in the releases.
e.g like I build one myself with go version 20.1
goml.zip
Hi,
I am trying to run the following command on Mac:
goml set -f <file> -p property=<certificate>
where the certificate is like this:
-----BEGIN CERTIFICATE-----
MIIGtTCCBZ2gAwIBAgIJAJm/y/1PvtG9MA0GCSqGSIb3DQEBCwUAMGgxCzAJBgNV
BAYTAlVTMQswCQYDVQQIDAJUWDEPMA0GA1UEBwwGQXVzdGluMQwwCgYDVQQKDANJ
Qk0xEjAQBgNVBAsMCUlCTSBDbG91ZDEZMBcGA1UEAwwQcm9vdCBjZXJ0aWZpY2F0
ZTAeFw0yMjAxMjUwODI3MzFaFw0yMzAxMjUwODI3MzFaMGgxCzAJBgNVBAYTAlVT
MQswCQYDVQQIDAJUWDEPMA0GA1UEBwwGQXVzdGluMQwwCgYDVQQKDANJQk0xEjAQ
BgNVBAsMCUlCTSBDbG91ZDEZMBcGA1UEAwwQY2NkYl9ldGNkX3NlcnZlcjCCASIw
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMCgKcvFrVhpdZf4uss6Ow3jLeDC
...
mFv13kXTH+JMYGX1rQTWO0z2+2YmyHn7BM/LaKYlZEL1bdWW+z5EQRY=
equal character is used as padding and sometimes we can have two or one of them. However, the result is:
properties: ""
the command works if the certificate doesn't contain equal characters.
If using goml set and the value is not specified the incorrect usage is shown but the return code is 0 which causes scripts to not exit.
Can all incorrect usage messages produce a non 0 error?
coligo goml set -f eprops-test/properties.yml -p "template.version" -v
Incorrect Usage: flag needs an argument: -v
NAME:
goml set - Set/Update property
USAGE:
goml set [command options] [arguments...]
OPTIONS:
--file value, -f value path to YAML file
--prop value, -p value property path string - foo.bar.zoo
--value value, -v value value for the defined property
--key value, -k value private key file
--dry-run, -d print set result to stdout
--json, -j format output as json
โ coligo echo $?
0
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.