Skip to content

localias import not working #70

@vinnymac

Description

@vinnymac

I tried import for the first time today after installing and it didn't work as I would have expected?

vinnymac@hostname $ localias --version
v3.0.0+commit.30eb016
vinnymac@hostname $ localias import ./.localias
error: panic: interface conversion: interface {} is string, not int
vinnymac@hostname $ localias import
error: invalid arguments: expected at least one [path]
vinnymac@hostname $ localias import --help
import all aliases from one or more other config files

Usage:
  localias import [path]... [flags]

Aliases:
  import, upsert

Examples:
  # import aliases from a file named .localias.mybranch.yaml in the current directory
  localias import ./.localias.mybranch.yaml

  # import aliases from multiple files
  localias import ./.localias.mybranch.yaml ../path/to/another.localias.yaml

Flags:
  -h, --help   help for import

Global Flags:
  -c, --configfile string   path to the configuration file to edit

Am I doing something wrong here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions