clay / claycli

A CLI For Clay!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add error when importing/exporting/linting an undefined url

nelsonpecora opened this issue · comments

we should catch this early and provide a useful error message, rather than:

clay import -k stg --yaml < ldap_users.yaml
     info  Importing items...
................................
 ✗ Imported 0 uris (´°ω°`)

    error  only absolute urls are supported (undefined/_users/YXlhbmdAbGRhcA==)
    error  only absolute urls are supported (undefined/_users/YWNoZW5nQGxkYXA=)
    error  only absolute urls are supported (undefined/_users/YXd1QGxkYXA=)
    error  only absolute urls are supported (und