Coder Social home page Coder Social logo

Comments (3)

tehnoir avatar tehnoir commented on September 26, 2024

Just wanted to chime in to second this. Day to day I need to be managing devices on multiple accounts. Need a quick way to switch between them.

from cupertino.

ksuther avatar ksuther commented on September 26, 2024

Well I just pushed very basic -- and incomplete -- account support to my own fork. My ruby skills are non-existent as well, so anyone who knows what they're doing will probably cringe if they look at it.

I also noticed there's another fork that contains multiple account support here: https://github.com/gvieira/cupertino. His implementation is a bit more complete, but I like the alias option that I added to mine.

Mine works with a ~/.cupertino config file that looks something like:

accounts: 
   test1: [email protected]
   test2: [email protected]
current: test1

You can print the list of accounts with ios account and you can select which account is active with ios account test1. Right now you need to manually specify the aliases, but I'll probably add a way to set aliases in the login command.

from cupertino.

mattt avatar mattt commented on September 26, 2024

Account management is something that feels out of scope for this utility, and isn't a feature that I'm choosing to include at this time. Sorry for the inconvenience.

As a suggested alternate approach, you could set cupertino logout / login as an action that's triggered as you cd into a directory, similar to how rvm does when encountering a .rvmrc file.

from cupertino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.