Those are all ways to start the standard minecraft launcher with those credentials in the text boxes.
There used to be a way to login to minecraft without the launcher using the command line, but it has since been patched.
If you want to make a custom launcher using the command line then good luck, the only way to login to the minecraft jar(IE: the way the launcher does it) is to send a post request to https://login.minecraft.net/ with the username,password,launcher version, and a RSA key. It then parses the pseudo Json, and uses the session token from that to authenticate the jar from the command line with a load of arguments.
If you are trying to make a minecraft launcher and you have no knowledge of java,http requests or json then you have no chance.
Swift